0

私は働いていますが、自分のブランチで a を実行すると、次のエラーが発生しますgit。これを停止するにはどうすれば修正できますか?git pulldevelop

You asked me to pull without telling me which branch you
want to merge with, and 'branch.develop.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 "develop"]
    remote = <nickname>
    merge = <remote-ref>

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

See git-config(1) for details.
4

2 に答える 2

0

エラー メッセージにあるように、プルするブランチを指定する必要があります。たとえば、masterリモートからブランチを取得originする場合は、次のコマンドを使用する必要があります

git pull origin master
于 2013-11-01T15:47:24.287 に答える