BattlePanic
January 30th, 2011, 09:38 PM
I'm new to the linux kernel and somewhat new to git as well. I've cloned the kernel.org mainline kernel from the following location:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Because I am currently running 2.6.35 and I want to be able to track bugfixes to this particular kernel release. As such, I have also cloned the stable 2.6.35 repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.35.y.git
This works, but tracking two different versions of the kernel source in two separate repositories seems like a waste of disk space. Can I simply track these as separate branches within a single local repository? Is this advisable? Is there a reason why kernel.org distributes previous versions and separate repositories?
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Because I am currently running 2.6.35 and I want to be able to track bugfixes to this particular kernel release. As such, I have also cloned the stable 2.6.35 repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.35.y.git
This works, but tracking two different versions of the kernel source in two separate repositories seems like a waste of disk space. Can I simply track these as separate branches within a single local repository? Is this advisable? Is there a reason why kernel.org distributes previous versions and separate repositories?