git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Kernel Hacker's guide to git (updated)

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Jul 15, 2005, 17:36 UTC
Message-ID
<42D7F415.30609@pobox.com>
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: Linus Torvalds
Message 1 of 5 in “Kernel Hacker's guide to git (updated)”
  1. Jeff GarzikJul 15, 2005
  2. Linus TorvaldsJul 26, 2005
  3. Jeff GarzikJul 26, 2005
  4. Linus TorvaldsJul 26, 2005
  5. Junio C HamanoJul 26, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.