6 ms·
I like and occasionally use Git, but I started with Mercurial and still prefer it. Can anyone tell me why/how Git allegedly become way better than Mercurial? I
by fghh45sdfhr3 14y ago
I like and occasionally use Git, but I started with Mercurial and still prefer it. Can anyone tell me why/how Git allegedly become way better than Mercurial? I seem to have missed that.
- mercurial 14y agoI haven't used Mercurial for a while, but on the top of my head: - lightweight branches (your branch is just a different head, there is nothing permanent about it) - git rebase -i (rewrite your history) - git add --patch (add parts of a file to a commit instead of the whole file) - the philosophy of preparing the commit by putting the files or portions of files you want to commit in the staging area, as opposed to committing everything per default I know Mercurial has alternatives to most of these functionalities, through various plugins. But I can't say I found them nearly as usable as Git. And that's saying something considering Git's command line interface.
- msgilligan 14y agoI don't think the article says Git is way better. It says it is way more popular, which is clearly true.