最佳答案
我从相对较短的时期开始使用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>
这个仓库的唯一贡献者是我,没有分支(只有一个主)。我在windows上,我已经执行了git bash的拉取:
git状态:
$ git status# On branch masternothing to commit, working directory clean
git分支:
$ git branch* master
我做错了什么?