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

Re: First dumb question to the list :)

From
Alex Riesen <raa.lkml@gmail.com>
Date
Mar 16, 2006, 22:11 UTC
Message-ID
<20060316221104.GA5898@steel.home>
In-Reply-To
<4d8e3fd30603160949l655c4f9blb1e202eaf22fbfe@mail.gmail.com>
Paolo Ciarrocchi, Thu, Mar 16, 2006 18:49:16 +0100:
> What I want to do is to simply keep my repository aligned with Linus
> so I simply have to do:
> cd linus2.6
> cg-fetch
Or "git pull"
> How can I confg git in order to, by default,  use git instead of rsync ?

By editing .git/remotes/origin and replacing "rsync://rsync." with "git://git." (I think the rest is identical, but you better check).

> Now my dumb question is... since I want to build that kernel do I have
> to locally clone/copy it in order to don't modify any file on my local
> tree?

No. As long you don't modify anything under .git you can always get to any state of your kernel tree you ever had (assuming you _use_ git, of course).

Or you can just revert your changes after you've played enough with them: "git reset --hard".

Previous: Paolo CiarrocchiNext: Jeff King
Message 2 of 3 in “First dumb question to the list :)”
  1. Paolo CiarrocchiMar 16, 2006
  2. Alex RiesenMar 16, 2006
  3. Jeff KingMar 18, 2006

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.