Hacker News new | past | comments | ask | show | jobs | submit login
Git Rerere (git-scm.com)
44 points by mattrighetti on Nov 2, 2023 | hide | past | favorite | 2 comments



So... Is this feature for this kind of workflow:

Branch A from main, make a change X.

Branch B from main, make a change Y.

X and Y happen to have a common subset, call it Z.

Someone changes code that effects Z and pushes to main.

You are on your branch A and merge main. You resolve the conflict.

Now you go to branch B and merge main. Having had enabled rerere, git will notice the same conflict occured and present you with it.

Is that right?


That's neat, but I know that I cannot be trusted with this feature.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: