Re: [howto] Kernel hacker's guide to git, updated
- From
- Dave Jones <davej@redhat.com>
- Date
- Sep 29, 2005, 20:11 UTC
- Message-ID
- <20050929201127.GB31516@redhat.com>
- In-Reply-To
- <Pine.LNX.4.60.0509292106080.17860@hermes-1.csi.cam.ac.uk>
On Thu, Sep 29, 2005 at 09:07:29PM +0100, Anton Altaparmakov wrote:
> > $ git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 > > $ cd linux-2.6 > > $ rsync -a --verbose --stats --progress \ > > rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ \ > > .git/ > > > > Could be just.. > > > > $ git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 > > $ cd linux-2.6 > > $ git pull > > That is not actually the same. "git pull" for example will not download > Linus' tags whilst the rsync would get everything.
Ah. I didn't know this. Thanks. Hmm, it'd be nice to have a shorthand 'not have to type the url, pull everything'. Something like 'git pull all'.
Dave