From: Jeff Garzik <jgarzik@pobox.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Git Mailing List <git@vger.kernel.org>, Dave Jones <davej@redhat.com>
Subject: Kernel Hacker's guide to git (updated)
Date: Fri, 15 Jul 2005 13:36:21 -0400 [thread overview]
Message-ID: <42D7F415.30609@pobox.com> (raw)
I've updated my git quickstart guide at
http://linux.yyz.us/git-howto.html
It now points to DaveJ's daily snapshots for the initial bootstrap
tarball, is reorganized for better navigation, and other things.
Also, a bonus recipe: how to import Linus's pack files (it's easy).
This recipe presumes that you have a vanilla-Linus repo
(/repo/linux-2.6) and your own repo (/repo/myrepo-2.6).
$ cd /repo/myrepo-2.6
$ git-fsck-cache # fsck, make sure we're OK
$ git pull /repo/linux-2.6/.git # make sure we're up-to-date
$ cp -al ../linux-2.6/.git/objects/pack .git/objects
$ cp ../linux-2.6/.git/refs/tags/* .git/refs/tags
$ git-prune-packed
$ git-fsck-cache # fsck #2, make sure we're OK
This recipe reduced my kernel.org sync from ~50,000 files to ~5,000 files.
Jeff
next reply other threads:[~2005-07-15 17:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-15 17:36 Jeff Garzik [this message]
2005-07-26 4:53 ` Why pack+unpack? Linus Torvalds
2005-07-26 5:13 ` Jeff Garzik
2005-07-26 16:44 ` Linus Torvalds
2005-07-26 6:14 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D7F415.30609@pobox.com \
--to=jgarzik@pobox.com \
--cc=davej@redhat.com \
--cc=git@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).