相关疑难解决方法(0)

当前分支没有跟踪信息

我一直在相对较短的时间内使用github,而且我总是使用客户端来执行提交和拉取.我决定昨天从git bash尝试它,我成功创建了一个新的repo和commit文件.

今天我从另一台计算机上对存储库进行了更改,我已经提交了更改,现在我回到家并执行了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>
Run Code Online (Sandbox Code Playgroud)

这个回购的唯一贡献者是我,并且没有分支(只是一个主人).我在Windows上,我从git bash执行了拉动:

在此输入图像描述

git状态:

$ git status
# On branch master
nothing to commit, working directory clean
Run Code Online (Sandbox Code Playgroud)

git branch:

$ git branch
* master
Run Code Online (Sandbox Code Playgroud)

我究竟做错了什么?

git github git-pull

497
推荐指数
12
解决办法
35万
查看次数

标签 统计

git ×1

git-pull ×1

github ×1