LoginSignup
2
0

More than 1 year has passed since last update.

コンフリクトしたのでrebaseしたい

Last updated at Posted at 2021-01-06

git rebase

過去にタイムスリップして、コンフリクトを過去改変し、A案B案を決めて未来に進める

前提:作業ブランチ(bigFix)にいる
①作業ブランチからgit checkout masterでマスターに戻る
②git pull で他人の変更を持ってくる
③git checkout bugFix(作業ブランチ) で作業ブランチに戻る
④git rebase masterで過去にタイムスリップする
⑤git statusを見るとboth modifiedになってるファイルがあるので変更する。なければ⑧
⑥変更ファイルを変更する
⑦git rebase --continueをする
⑧git push -f

2
0
1

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
2
0