2

ローカル ブランチ マスターから github ブランチ feature/ABF-3-project-structure に切り替える必要があります

以下のコマンドを実行します。

git pull feature/ABF-3-project-structure

これはコマンドの出力です

ここに画像の説明を入力

私を助けてください。少なくとも3時間試しましたが、まだ運がありません

ありがとう、エナムル

4

3 に答える 3

2

あなたの質問を理解しているかどうかわかりませんが、上記のブランチへの切り替えは次のコードで行うことができます: git checkout feature/ABF-3-project-structure.

于 2012-09-05T11:31:04.033 に答える
2

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

于 2012-09-05T11:35:30.913 に答える
1

githubにsshキーを追加することで、この問題を解決しました。以前、githubでsshキーを設定せずにgitで作業していました。

とても簡単です。sshキーを追加して、前のコマンドを実行しました。それは私の問題を解決します。:)

于 2012-09-06T06:22:12.717 に答える