我一直在使用github,而且我一直使用客戶端來執行提交和提交。我決定在昨天從git bash嘗試它,並且我成功創建了一個新的回購和提交文件。當前分支沒有跟蹤信息
今天我所做的更改從另一臺計算機的資源庫,我已經犯下的變化,現在我回到家裏,並進行了git pull
來更新我的本地版本,我得到這個:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream develop origin/<branch>
的只有這個回購的貢獻者是我,並沒有分支(只是一個主人)。我在窗戶和我進行從混帳慶典拉:
git的狀態:
$ git status
# On branch master
nothing to commit, working directory clean
的Git分支:
$ git branch
* master
我在做什麼錯?
好吧,'git remote -v'怎麼樣?這是什麼意思? – criswell
可能重複的[git checkout標記,git pull在分支失敗](http://stackoverflow.com/questions/10147475/git-checkout-tag-git-pull-fails-in-branch) – rjmunro