HBuilder中not authorized错误以及The current branch is not configured for pull No value for key branch.ma
HBuilder提交代码到git时,报Cannot get remote resository refs错误,或者pull代码时报
The current branch is not configured for pull No value for key branch.master.merge found in config
因为我是新的项目,第一次提交到git,所以导入项目时忘记配置config文件
找到你项目的目录,然后找.get文件,打开是这样的
选中config文件,用记事本打开,
添加我选中的内容
url为自己项目git的地址
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://git.coding.net(自己项目的地址)
fetch = +refs/heads/*:refs/remotes/origin/*