1:github新建一个仓库,之后获取到仓库的https地址
eclipse 链接github
2:eclipse创建一个新项目
eclipse 链接github
3: 打开preferences —> git—>Configuration
添加一个entity,
key | 格式user.name | name是Github上的用户名
value | user.email | Github上绑定的email
4:打开 preferences 搜索ssh。生成一个ssh并放入github的配置中
eclipse 链接github
5:创建一个本地仓库
右键项目—>team—>apply patch
eclipse 链接github
6:提交代码到仓库
eclipse 链接github
eclipse 链接github

eclipse 链接github
eclipse 链接github

相关文章: