What is Git?
Git is a fast revision control system used by the Linux Kernel and Ubuntu
for tracking changes to the kernel source code. It is used to efficiently
manage multiple tiers of developers working on the same basic project in
tandem.
I used git for this project as a way to merge in the latest upstream kernel
development code into my own codebase.
Git Resources
The following links are "required reading" if you plan on hacking the
kernel with git.
Cloning the Repository
Before you can begin hacking the kernel you need to first download (aka,
clone) a repository. I have posted my changes to a public read-only git
repository available online. See the Git URL table below. This table
describes the clone url using the native git:// protocol over
port 9418.
The git:// URL is the most efficient way to download the code.
If you're having problems using this Git URL, see FAQ #11 for an alternative URL scheme.
* The "eeepc modules" & "eeepc module headers" are
packages that are specific to hardy. In intrepid, these packages were
rolled into the kernel itself.
To clone the "hardy eeepc kernel" repository you would run the command:
git clone git://git.array.org/ubuntu-hardy-eeepc.git
FAQ: I cannot seem to download the source using
the git protocol. Is there an alternative?
This will download the code into the directory "ubuntu-hardy-eeepc"
After downloading, at any time you can update your local repository to
pulling the latest changes from the original public repository.
From the "ubuntu-hardy-eeepc" directory, run the command:
git pull origin
Finally, a neat way to visually read the commit history of a repository
tree is with the program gitk. From the "ubuntu-hardy-eeepc" directory, run
the command:
gitk --all
|