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

Re: [Feature Request] git export

From
Tim Visher <tim.visher@gmail.com>
Date
Aug 10, 2009, 18:31 UTC
Message-ID
<c115fd3c0908101131n20237b8bsb5f5a06ec4b2189c@mail.gmail.com>
In-Reply-To
<200908101841.00522.thomas@koch.ro>
On Mon, Aug 10, 2009 at 12:41 PM, Thomas Koch<thomas@koch.ro> wrote:
> thanks for your explanation. Still I don't get how to do it with git checkout-
> index. The man page says "Just read the desired tree into the index", but I
> don't know what is meant by this.

No problem. That phrase gave me some trouble the first time I read it too. All it means is 'do a `git checkout` of the branch that you want to export'. `git checkout-index` will then do an export of the contents the branch that you currently have checked out.

Junio and Dscho's comments are possibly salient as well.
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Previous: Thomas KochNext: Junio C Hamano
Message 4 of 7 in “[Feature Request] git export”
  1. Thomas KochAug 10, 2009
  2. Tim VisherAug 10, 2009
  3. Thomas KochAug 10, 2009
  4. Tim VisherAug 10, 2009
  5. Junio C HamanoAug 10, 2009
  6. Johannes SchindelinAug 10, 2009
  7. Michael J GruberAug 11, 2009

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.