我已經看到了這一點: -你的分支是領先了3起源大師的承諾
why does it say "Your branch is ahead of origin/master by 857 commits" when I need to *pull* origin master Git - "Your branch is ahead of 'origin/master' by 3 commits." Your branch is ahead of 'origin/master' by 3 commits 'Your branch is ahead of 'origin/master' by 1 commit' on explicit push
我是新來的git
但AFAICT它並沒有解決我的問題... 事情是我經常得到這個問題,但它喜歡它自己解決了很多次,在一段時間後,它是這樣的: -
$ git status
On branch master
Your branch is ahead of 'github/master' by 3 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
所以我檢查了github回購所有改變已經被推...就像我也再次推動起源/主,仍然git狀態顯示這一點。
我還從產地/主拉...它得到了在拉動全成......但之後,它仍然顯示做git的狀態後,同一
請告訴我一個很好的解決它,也是原因如果可能的話爲什麼會這樣......除了原因「您當地的回購協議具有不能被推到遠程提交」 預先感謝您
編號沒有任何事情發生。必須有一些東西 – Smit
根據我們上次從原始數據獲取數據後知道的情況,您的分支處於領先地位。做'git fetch',你會看到不同的信息。 – aragaer
@Smit我知道承諾是本地和推動起源是遙遠的.... –