开发者

Trouble with git pull

I'm having trouble using git.

I branched a repo and wrote some code.

My fr开发者_运维知识库iend cloned that, made some changes, and push --all to the server.

I now want to see those changes with pull, but I'm getting the following message:

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

If you often merge with the same branch, you may want to
use something like the following in your configuration file:

    [branch "threshold"]
    remote = <nickname>
    merge = <remote-ref>

    [remote "<nickname>"]
    url = <url>
    fetch = <refspec>

See git-config(1) for details.

What am I doing wrong here?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜