tags:

views:

54

answers:

2

every time i git rebase my patchset on a new version of the original, do i have to manually resolve the conflicts again and again?

+6  A: 

Check out git-rerere.

Carl Norum
Just to save people from reading all the documentation, you can pretty much just set `rerere.enabled` to true in your .gitconfig, and it'll take care of it all for you.
Jefromi
In addition to the man pages, the Git maintainer Junio Hamano has a nice blog post about using rerere at http://gitster.livejournal.com/41795.html .
Pat Notz
if youre merging(pulling), just set rerere.enabled, if rebasing, it seems you have to git rerere before and after editing the conflicting file, manually
A: 

Depending on your repository you might be able to use the stash

git stash pop
git stash

http://gitready.com/beginner/2009/01/10/stashing-your-changes.html

Andreas Rehm