Hacker News new | ask | show | jobs
by raggi 6015 days ago
I use git more than hg, but neither bothers me, and I do use both. There's one major workflow that's significantly easier in hg, which is to generate a local patchfile (amazingly clunky in git sometimes, despite being actually kinda simple too). Hg has some UI fail too, it's just different.

Some of gits front end is (even now) a bit weak, but, it's also quite complete (really) and insanely powerful (for better or worse, you can really shoot yourself in the foot with it, if you poke too much).

There are things that are commonly in use that people shoot themselves with all the time (like stash - which is really an antipattern when you have such cheap branching (hint: branch & commit never causes problems, and rebase / cherry-pick help you squash temp stuff)). You can find anti-patterns in any software though, and I recommend you simply use both for a while, I think anyone unbiased will generally agree they've very very comparable.

If you have a brain cell or two, neither of these systems are going to be a major bottleneck to use, despite what folks might say about their UIs etc.

Git is a little faster at doing some tasks, but this isn't going to really matter to you unless you're managing large repositories. Gits recent popularity growth means there's some neat tools out there too, depending on your platform, and preferences.

As far as windows support goes for git, I have to help less technically minded non-developers use git on windows on a fairly frequent basis, and msysgit works just fine there. You'll want to be aware of details of SSH & key management, and debug with ssh first before debugging with git. That's standard debugging though, and not really anything to do with git, or windows, but the lack of commonality of these tools on the platform. Again, a few brain cells correctly engaged very rapidly get past any such niggles if you're being pragmatic.

1 comments

> msysgit works just fine there

As someone who recently moved from a linux box to a windows one for his primary workstation, I can affirm that msysgit is shockingly, shockingly slow.

I'd definitely recommend hg if you have a lot of people on windows for that reason alone.