MyEclipse(2015)中上传项目到github的快捷步奏

首先,前5步参见博文myEclipse上传到github
当走完第五步时,请打开git本地仓中对应的工程中的 .git文件夹
接着,打开名为 config 的 文件
此时 粘贴如下代码:

1
2
3
4
5
6
7
8
9
10
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
merge = refs/heads/master
remote = origin
[remote "origin"]
url = https://github.com/xxx/xxx.git
fetch = +refs/heads/*:refs/remotes/origin/*

然后如图先pull再commit就完成了!