LoginSignup
0
0

git-rebaseとmergeとの違い

Last updated at Posted at 2023-10-17

git rebase とは、作業が完了したブランチを分岐元のブランチにくっつける。

rebaseの場合のコマンド例

  • git checkout 分岐先のブランチ1
  • git rebase master
  • git checkout 分岐先のブランチ2
  • git rebase master

merge の場合のコマンド例

  • git checkout master
  • git merge 分岐先のブランチ1
  • git merge 分岐先のブランチ2

参考サイト
https://blog.codecamp.jp/git_rebase

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0