r/programming • • Nov 16 '13

What does SVN do better than git?

http://programmers.stackexchange.com/questions/111633/what-does-svn-do-better-than-git
599 Upvotes

494 comments sorted by

View all comments

Show parent comment

1

u/eigenlicht0 Nov 17 '13

What's the reason you love rebase?

I'm currently working out a Git workflow, and thought about not using rebase at all since it might confuse other people. It's probably easier for git amateurs to simply always 'git merge' instead of thinking about whether it would be possible to use 'git rebase' in their current scenario (also, you get problems if you want to push your branch more often to the repo).

1

u/busterbcook Nov 17 '13

Rebase allows you to generally revise all of your patches before publishing, without having to wait until you are totally finished to commit.

I can merge 'Yay it works' with 'Oops, one more corner case', and get a single working patch. Or I can split 'Too tired, committing for now' back into 'Whitespace changes', 'API changes', 'Bug fixes'. Or I can fix typos in commit messages, delete or reorder changes. Pretty much anything.

With SVN, I used an external tool like quilt, or just had to accept that a mistake is forever visible (or not worth fixing), and thus had to forever commit the typo commits of shame.

tl;dr - vanity and pride