Gitはブランチを作成し、ブランチをマージして更新します

  • 新しいブランチを作成:git checkout -b branch_name
  • リモートサブブランチの作成/リンク:git push --set-upstream origin branch_name
  • サブブランチへの切り替え:git checkout branch_name
  • サブブランチコードをマスターにマージします:
    git checkout master
    git merge branch_name
  • マスターコードをサブブランチに更新:git merge master / git update
  • サブブランチを削除:git checkout -d branch_name
    リモートのサブブランチを削除し、soctrackを使用します
公開された89件の元の記事 気に入りました83 訪問数3487

おすすめ

転載: blog.csdn.net/devin_xin/article/details/105488292
おすすめ