HBuilder集成git后报The current branch is not configured for pull No value for key branch...
转载自http://blog.csdn.net/androidzhaoxiaogang/article/details/168590991.在本地工程目录找到config文件(我的是在E:\rocket\rocket\.git);2.修改config文件内容为:[core] repositoryformatversion = 0 filemode
·
转载自http://blog.csdn.net/androidzhaoxiaogang/article/details/16859099
1.在本地工程目录找到config文件(我的是在E:\rocket\rocket\.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.再执行pull方法,发现工作ok了
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献2条内容
所有评论(0)