4 ms·
Some of the major features that hooked me on Git (as compared to Hg, Bzr, and SVN): - primary local branching is done in the same repository without needing to
by nuclear_eclipse 18y ago
Some of the major features that hooked me on Git (as compared to Hg, Bzr, and SVN):
- primary local branching is done in the same repository without needing to create multiple parallel directories.
- local branches need not correlate to public branches on a remote system.
- keeping local branches current with trunk/master is dead easy when using rebase.
- using interactive rebase is incredibly powerful for splitting, combining, rebuilding or reorganizing a set of commits on a local branch.
- commit amending is dead simple, for those times when you miss adding a file (or part of a file) and catch it the moment after you've hit the enter key.
- much better two-way integration with SVN. I work on projects hosted using SVN using Git, and I gain all the benefits of local branching, etc, and I can still push all my changes perfectly easily to the server whenever I want.
Basically, Git is powerful, flexible, and designed to fit a more natural style of development (IMO), and really puts the developer in control at all times. After the initial shell shock of finding that "standard" source control commands work a bit different in Git (as compared to SVN, Hg, etc), and you learn the what/why/how of the staging area (the index), I've found Git to be the most development-friendly source control tools around, and for the first time in the history of using source control, I have never once cursed the tool for doing/not doing something wrong/stupid. That alone has made me a lifelong convert.
- silentbicycle 18y agoOk, thanks. (I'm guessing that the two-way integration with SVN is a big deal for a lot of people, too.)