News for hackers. Stuff that matters.
Re:Git: the minimum you need to know (sorta like a cheat or ... by DarkShikari on Sunday August 24, 2008 @07:05PM (#285480)
From a post of mine a while back on this topic:

1. I can commit things locally before committing them to the main repository. This allows me to commit something in a manner that separates it from all future changes, but test it for a few more days in future development before I actually push it to the main repository.

2. I can correct past commits. This means I don't have to clutter up the history with "fix typo"; I can just amend the previous commit. Obviously this isn't useful for stuff far back, but if I commit something and 2 minutes later someone points out a typo, I can fix it. A messy history makes development and bugfinding harder; git helps avoid it.

3. Git diff is formatted a bit more nicely than svn diff, IMO.

There are no comments on this comment yet.