首先,前5步参见博文myEclipse上传到github
当走完第五步时,请打开git本地仓中对应的工程中的 .git文件夹
接着,打开名为 config 的 文件
此时 粘贴如下代码:
[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就完成了!
本文详细介绍如何通过myEclipse将项目上传至GitHub的过程。包括配置本地仓库的.git文件夹内的config文件的具体步骤,以及使用pull和commit完成同步的方法。

被折叠的 条评论
为什么被折叠?



