0
のブランチを作成:GIT:私はリポジトリをフォークし、リモートコンフィギュレーション設定フォークリポジトリから
git remote -v
origin https://github.com/myAccount/someRepo.git (fetch)
origin https://github.com/myAccount/someRepo.git (push)
upstream https://github.com/someAccount/someRepo.git (fetch)
upstream https://github.com/someAccount/someRepo.git (push)
をしかし、私はからブランチを作成したい:私はローカルにし、そのブランチを作成した場合
https://github.com/myAccount/someRepo.git
そのブランチはorigin
にしか行きませんか?例えば
:
git checkout -b debug
git push -u origin debug
@ das-g私が理解しようとしているのは、ブランチを作成することだけです。 – user2924482
私はあなたの質問を(うまくいけば)明確にするように言い直しました。それは依然としてあなたが聞きたいことを尋ねますか? –
はい。 'git push -set-upstream-origin origin debug 'を望むなら、上流に送るように指定する必要があります。 – Darlesson