git学习第六篇《使用遇到的问题汇总》
Q1:并解决“您的配置中指定要合并远程的引用 'refs/heads/master'”问题
方法1:https://www.jianshu.com/p/ad9cf1e25772
config文件,对,就是编辑她。
她默认是这个样子
我们给她加点东西
对,就是加上一句这个东西
[receive]
denyCurrentBranch = ignore
方法2: https://blog.****.net/qq_30581017/article/details/79004665
step1:查看所有的远程 仓库的分支:git branch --all
step2:
如果您想要为此分支创建跟踪信息,您可以执行:
git branch –set-upstream-to=origin/master
step3:git pull