Hacker News new | ask | show | jobs
by mklein994 2052 days ago
Enter git rerere: https://git-scm.com/docs/git-rerere

This will "REuse REcorded REsolutions" of conflicted merges.

Once enabled, it will record how a merge conflict was resolved, and replay it back the next time it encounters it. Saves a lot of time in cases where you already solved the merge once before.

https://git-scm.com/book/en/v2/Git-Tools-Rerere

1 comments

rerere gives me nightmares. Much prefer some delicate merging footwork if at all possible.