git rebaseのオプション達

  • 2021年1月3日
  • 2022年11月11日
  • git
  • 390view
git

そもそもgit rebaseとは

git rebaseは一言で言うと

ブランチの根元を変えるコマンド」です!!

コンフリクトを解消したいときなどに使います。

今回はgit rebaseと合わせて使うオプションを紹介していきます。

git rebase –continue

git rebaseを続行するコマンドです。

コンフリクトを手動で解消したのちにサイドコンフリクトがないかを確認するために使います。

git rebase –abort

git rebaseを完全に中止するコマンドです。

rebaseをやめて、他のブランチの作業に取り掛かりたいときなどに使います。

git rebase –skip

rebaseをスキップします。コンフリクトを解消している最中に前のコミットの状態と同じになってしまった時に使います。

gitのコマンドで不安がある人用に、僕は初期に参考にしていた書籍を貼って置きます。

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the compare bar
Compare
Compare ×
Let's Compare! Continue shopping