{"thread":{"id":"372","subject":"Re: kernel hacker's git howto","startedAt":"2005-04-28T10:22:03Z","lastAt":"2005-04-28T10:22:03Z","messageCount":1,"participants":["David Greaves"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"2022","messageId":"4270B94B.30604@dgreaves.com","threadId":"372","inReplyTo":"20050428085657.GA30800@elf.ucw.cz","subject":"Re: kernel hacker's git howto","fromName":"David Greaves","fromEmail":"david@dgreaves.com","sentAt":"2005-04-28T10:22:03Z","receivedAt":"2005-04-28T10:22:03Z","isPatch":false,"sender":{"key":"david@dgreaves.com","avatar":"https://gravatar.com/avatar/ca67bad50999edcdd137c9a65da2381557d175bea99ae956afdabc5785e42b79?d=mp&s=160"},"body":"I think a lot of people on the git list would like to see this - please \nCC :)\n\nDavid\n\nPavel Machek wrote:\n\n>Hi!\n>\n>Here's my current version of git HOWTO. I'd like your comments...\n>\n>\tKernel hacker's guide to git\n>\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n>      2005 Pavel Machek <pavel@suse.cz>\n>\n>You can get cogito at http://www.kernel.org/pub/software/scm/cogito/\n>. Compile it, and place it somewhere in $PATH. Then you can get kernel\n>by running\n>\n>mkdir clean-cg; cd clean-cg\n>cg-init rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\n>\n>... Do cg-update origin to pickup latest changes from Linus. You can\n>do cg-diff to see what changes you done in your local tree. cg-cancel\n>will kill any such changes, and cg-commit will make them permanent.\n>\n>To get diff between your working tree and \"next tree up\", do cg-diff\n>-r origin: . If you want to get the same diff but separated\n>patch-by-patch, do cg-mkpatch origin: . If you want to pull changes\n>from the \"up\" tree to your working tree, do cg-pull origin followed by\n>cg-merge origin.\n>\n>\n>How to set up your trees so that you can cooperate with linus\n>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n>\n>What I did:\n>\n>Created clean-cg. Initialized straight from Linus (as above). Then I\n>created \"nice\" tree, good for Linus to pull from \n>\n>mkdir /data/l/linux-good; cd /data/l/linux-good\n>cg-init /data/l/clean-cg\n>\n>and then my working tree, based on linux-good\n>\n>mkdir /data/l/linux-cg; cd /data/l/linux-cg\n>cg-init /data/l/linux-good\n>\n>. I do my work in linux-cg. If someone sends me nice patch I should\n>pass up, I apply it to linux-good with nice message and do\n>\n>cd /data/l/linux-cg; cg-pull origin; cg-merge origin\n>\n>  \n>\n\n-- \n\n"}]}