Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在HEADにないブランチをgitベアリポジトリにプッシュする方法はありますか?
たとえば、2 つのブランチがあります。
$ git branch * master another
そして、私は2つのリモコンを設定しています:originとanother.
origin
another
HEAD を変更せずに 1 つのコマンドでプッシュanotherできるようにする必要があります。another/another
another/another
リモートとローカルをgit push指定できます
git push
git push remotename branchname