3
我可以推,拉和上行/主站檢查沒有問題,但我確實收到警告。 上游/主要用於跟蹤對我分叉的原始源代碼(遵循github指令)所做的更改。Pathspec上游/主站模糊不清
E.g.
$ git checkout upstream/master
warning: refname upstream/master is ambiguous
$ git branch -a
* master
upstream/master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/upstream/master
此命令也有不明確的錯誤:
$ git branch
* master
upstream/master
$ git checkout upstream/master filename.bar