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

git-import.sh using git-fast-import

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Aug 27, 2007, 16:13 UTC
Message-ID
<fcaeb9bf0708270913o37b2dbdfw2f5f7d89d9ab1d21@mail.gmail.com>

It is not really good. It does not run as fast as git-add && git-commit. But it can swallow big directories that git-add && git-commit can't. So I think I would share. It's also simpler than those in contrib/fast-import, making it a good start for git-fast-import's new users.

To run it, move inside the directory you want to import then type ./git-import.sh master 'your import message'

-- 
Duy
Next: Johannes Gilger
Message 1 of 3 in “git-import.sh using git-fast-import”
  1. Nguyen Thai Ngoc DuyAug 27, 2007
  2. Johannes GilgerAug 27, 2007
  3. Nicolas PitreAug 29, 2007

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.