git pull の使用中にエラーが発生しました
同様の問題に遭遇したことがありますか? 以前はプルできましたが、他の人がコードを更新した後はできなくなり、他の人に助けを求め、私自身もそこから学びました
。PHP中文网2017-05-02 09:29:04
你的分支名は何ですかorigin/feature/
开头? refspec にはこのような格式はありません origin/feature/
开头? refspec从来没有这样的格式
git pull [options] [<repository> [<refspec>...]]
<repository> should be the name of a remote repository as passed to git-fetch(1). <refspec> can name an arbitrary remote ref (for example, the name of a tag) or even a
collection of refs with corresponding remote-tracking branches (e.g., refs/heads/:refs/remotes/origin/), but usually it is the name of a branch in the remote repository.
直接 git pull origin 360xxx
<時間>
git pull [オプション] [<リポジトリ> [<refspec>...]]#🎜🎜#直接
<リポジトリ> git-fetch(1) に渡されるリモート リポジトリの名前である必要があります。 <refspec>任意のリモート参照 (タグの名前など) または
対応するリモート追跡ブランチを持つ参照のコレクション (例: refs/heads/:refs/remotes/origin/) に名前を付けることができます。 em>)、ただし通常はリモート リポジトリ内のブランチの名前です。#🎜🎜#
git pullorigin 360xxx
#🎜🎜#为情所困2017-05-02 09:29:04
プロンプトには、リモート ブランチへの参照が見つからないというメッセージが表示されます。ブランチ名が間違っているか、参照が削除されている可能性があります。git branch -a
コマンドを使用して、対応するブランチがあるかどうかを確認できます。支店
过去多啦不再A梦2017-05-02 09:29:04
現在、develop ブランチにいるため、git pullorigin feature:develop を使用して、リモート機能ブランチとローカルの開発ブランチをマージできます。