learning to love git
I’ve been working for Xelerance, mcr’s company, for a couple of weeks now. The project I am working on is mostly bringing KLIPS, openswan ipsec kernel module, into the 21st centry. Since KLIPS is a patch against the Linux kernel, it makes sense to keep it in git.
When Linus first said that he was working on GIT, I was very interested. I knew that Linus liked BitKeeper, as I did, so anything that he came up with should be similar in design to BK, or at least take from the strengths of BK. The GIT system quickly became very complex. I liked bk because it was easy to do the simple things, GIT made it very hard to get into. And, while I used git for fetching kernels, I’ve been avoiding it for personal SCM usage.
Now, I had to embrace it for work purposes :) … and I must say that I am beginning to like it. GIT has some very cool features, and it makes a good use of repository branches – something I never understood the need for while using BK. I still find GIT to be very “plumbing” friendly, but as I go it gets easier. Cogito certainly helps a bit, but I’ve found some git-only commands (ie not wrapped in cogito interface) too powerful to make me use strictly cogito.
Anyway, here are some links I found useful on my recent git adventures:
- kernel.org/git has a lot of kernel branches, and links to documentation
- GIT Guide from sourcemange.org
- Wine developers guide to GIT
- Kernel Hacker’s Guide to git
- Git Cheat Sheet - Maximilian Attems enumerates a few frequently used git commands
(I wil try to update this as I find new stuff)