ローカル ブランチ マスターから github ブランチ feature/ABF-3-project-structure に切り替える必要があります
以下のコマンドを実行します。
git pull feature/ABF-3-project-structure
私を助けてください。少なくとも3時間試しましたが、まだ運がありません
ありがとう、エナムル
あなたの質問を理解しているかどうかわかりませんが、上記のブランチへの切り替えは次のコードで行うことができます: git checkout feature/ABF-3-project-structure
.
Try this:
git pull {repo} {remotebranchname}:{localbranchname}
git pull origin abc:abc
In case when you are on the master branch you also should first checkout a branch:
git checkout -b abc
this should create new branch "abc" from the master and directly check it out. than you should run:
git pull origin abc
to pull the new branch to your local abc branch
githubにsshキーを追加することで、この問題を解決しました。以前、githubでsshキーを設定せずにgitで作業していました。
とても簡単です。sshキーを追加して、前のコマンドを実行しました。それは私の問題を解決します。:)