git拉不工作

Nic*_*ilt 12 git

我没有使用github.我们的机器上有git设置.

我从master那里创建了一个名为experiment的分支.但是,当我尝试做git pull时,我收到了以下消息.

> git pull
You asked me to pull without telling me which branch you
want to merge with, and 'branch.experiment.merge' in
your configuration file does not tell me either.    Please
specify which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
Run Code Online (Sandbox Code Playgroud)

这是git远程显示源的结果

> git remote show origin
* remote origin
  Fetch URL: ssh://git.domain.com/var/git/app.git
  Push  URL: ssh://git.domain.com/var/git/app.git
  HEAD branch: master
  Remote branches:

    experiment      tracked
    master          tracked
  Local branches configured for 'git pull':
    master     merges with remote master
  Local refs configured for 'git push':
    experiment pushes to experiment (local out of date)
    master     pushes to master     (up to date)
Run Code Online (Sandbox Code Playgroud)

当我阅读上面的消息时,实验被映射到原点/实验.我的本地存储库知道它已经过时了.那为什么我不能做git pull?

这就是我创建这个分支的方式

git co -b experiment origin/experimenŤ

Ste*_*fin 19

拉:

git pull origin experiment
Run Code Online (Sandbox Code Playgroud)

推:

git push origin experiment
Run Code Online (Sandbox Code Playgroud)