Re: Updated git HOWTO for kernel hackers
- From
- Anton Altaparmakov <aia21@cam.ac.uk>
- Date
- Jun 23, 2005, 08:01 UTC
- Message-ID
- <Pine.LNX.4.60.0506230900140.7099@hermes-1.csi.cam.ac.uk>
- In-Reply-To
- <Pine.LNX.4.58.0506221603120.11175@ppc970.osdl.org>
On Wed, 22 Jun 2005, Linus Torvalds wrote:
Show 16 quoted lines
> On Wed, 22 Jun 2005, Jeff Garzik wrote: > > 2) download a linux kernel tree for the very first time > > > > $ mkdir -p linux-2.6/.git > > $ cd linux-2.6 > > $ rsync -a --delete --verbose --stats --progress \ > > rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ > > \ <- word-wrapped backslash; sigh > > .git/ > > Gaah. I should do a "git-clone-script" or something that does this, and > then you could just do > > git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 > > Anybody?
What's wrong with Pasky's cogito scripts? There is a cg-pull as well as a cg-clone in there already. If nothing else you could just copy the relevant scripts and rename them to git-blah...
Best regards,
Anton
-- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/