0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

git rebaseパッと確認

Posted at

はじめに

ズバッとgit rebaseに関して、自分が欲しいと思った情報だけを残します!

前提

ブランチBをブランチAの変更の後に変更したような履歴にしたい。

やり方

git checkout ブランチB
git rebase ブランチA

コンフリクトが出たら、、、修正して

git add .
git rebase --continue

最後に変更をpushする(ローカルで作業中は不要)

git push -f origin ブランチB
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?