1.在当前项目的本地工程目录找到config文件(例如E: ocket ocket.git);
2.修改config文件内容为:
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://github.com/androidzhaoxiaogang/rocket.git (修改为自己的url)
fetch = +refs/heads/*:refs/remotes/origin/*
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://github.com/androidzhaoxiaogang/rocket.git (修改为自己的url)
fetch = +refs/heads/*:refs/remotes/origin/*
3.保存