git pull の使用中にエラーが発生しました
同様の問(wèn)題に遭遇したことがありますか? 以前はプルできましたが、他の人がコードを更新した後はできなくなり、他の人に助けを求め、私自身もそこから學(xué)びました
。你的分支名は何ですかorigin/feature/
開(kāi)頭? refspec にはこのような格式はありません origin/feature/
開(kāi)頭? refspec從來(lái)沒(méi)有這樣的格式
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>)、ただし通常はリモート リポジトリ內(nèi)のブランチの名前です。#????#
git pullorigin 360xxx
#????#プロンプトには、リモート ブランチへの參照が見(jiàn)つからないというメッセージが表示されます。ブランチ名が間違っているか、參照が削除されている可能性があります。git branch -a
コマンドを使用して、対応するブランチがあるかどうかを確認(rèn)できます。支店
現(xiàn)在、develop ブランチにいるため、git pullorigin feature:develop を使用して、リモート機(jī)能ブランチとローカルの開(kāi)発ブランチをマージできます。