LoginSignup
9
9

More than 5 years have passed since last update.

git-rerereでconflict自動解決したくないとき

Last updated at Posted at 2014-03-10

merge前に気づいた場合、先に記録済み解決パターンを削除すればOK.

$ git rerere forget <pathspec>

気づかずmergeしてrerereで自動解決されちゃったけどconflict状態に戻したいときは

$ git checkout -m <pathspec>

でもやっぱりrerereがやってくれてたとおりに解決したい、となったら

$ git rerere

これで記録済みパターンをまた適用してくれる。

9
9
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
9
9