最佳答案
git push
没有-u
选项。它只出现在1.7版本中。x版本。< / p >
在文档中,-u
与变量相关
branch.<name>.merge
在git config
。该变量描述如下:
Defines, together with branch.<name>.remote, the upstream branch
for the given branch. It tells git fetch/git pull which branch to merge.
什么是上游分支?