1. 程式人生 > >您要求從遠端 'origin' 拉取,但是未指定一個分支。因為這不是當前 分支預設的遠端倉庫,您必須在命令列中指定一個分支名。

您要求從遠端 'origin' 拉取,但是未指定一個分支。因為這不是當前 分支預設的遠端倉庫,您必須在命令列中指定一個分支名。

i've been using github from a relatively short period, and I've always used the client to perform commits and pulls. I decided to try it from the git bash yesterday, and I successfully created a new repo and committed files.

today I did changes to the repository from another computer, I've committed the changes and now I'm back home and performed a git pull

 to update my local version and i get this:

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>

the only contributor to this repo is me and there are no branches (just a master). I'm on windows and I've performed the pull from git bash (http://prntscr.com/85picx)

git status:

$ git status
# On branch master
nothing to commit, working directory clean

git branch:

$ git branch
* master

what am i doing wrong?