Teaching rerere about existing merges
Hello everybody
I have just discovered rerere which seems to be an awesome feature....
unfortunately I have been merging and resolving conflicts on my repository for quite some time and I will soon do a rebase that would greatly gain from using rerere...
is there a way to "teach" rerere about existing merge commits, or do I have to re-solve all the existing merge manually once ?
Regards
Jérémy Rosen
fight key loggers : write some perl using vim
Quoted 2 lines · Jeremy Rosen
is there a way to "teach" rerere about existing merge commits, or do I have to re-solve all the existing merge manually once ?
There is a tool that does the "re-solve manually" for you.
$ git ls-files | grep rerere-train contrib/rerere-train.sh
It uses your working tree to do its work, so you should first commit or stash whatever you are in the middle of doing before using it.
Quoted 2 lines · Jeremy Rosen
is there a way to "teach" rerere about existing merge commits, or do I have to re-solve all the existing merge manually once ?
See src/contrib/rerere-train.sh and Junio's blog.
http://git-blame.blogspot.com/2012/04/rebuilding-git-integration-environment.html
thanks a lot, that solves my problem.
I'm a bit suprised that it's not part of the git-rerere command but that's good enough for me...
Cordialement
Jérémy Rosen
fight key loggers : write some perl using vim
----- Mail original -----
Quoted 10 lines
Quoted 3 lines · Jeremy Rosen
is there a way to "teach" rerere about existing merge commits, or do I
have to re-solve all the existing merge manually once ?See
src/contrib/rerere-train.shand Junio's blog.http://git-blame.blogspot.com/2012/04/rebuilding-git-integration-environment.html