News for hackers. Stuff that matters.
Re:Julia Evans: Git rebase, what can go wrong by heisenberg302 on Monday November 06, 2023 @12:35PM (#38165738)
I prefer rebase over merge because when merging since the commits are added to HEAD, when I add new commits after merge, I find it harder to understand what is being added with the current pull request.

One thing that annoys people when rebasing is, if you need to rebase a couple of times and also you change the commit history of current branch, you might end up solving the same "conflicts". To avoid this, you can use git rerere, this basically saves your conflict resolution, and if the same conflict is encountered, it resolves it automatically: https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gi...

There are no comments on this comment yet.