2015-10-14 23 views

回答

18

與git中的遠程同步不是自動的,必須使用命令執行。 git fetch origin指示git連接到遠程命名的原點並獲取refs和關聯對象的列表。這將包括github上的新分支。此時您可以用git checkout <branch_name>結賬分行。

+1

在工作目錄中運行「git fetch origin」做了這項工作! –

+0

如何做到這一點沒有終端,在Xcode中:http://stackoverflow.com/questions/33527579/xcode-7-doesnt-show-new-remote-branches-using-git – Rebeloper

相關問題