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

Re: git-svnimport: what to do after -i?

From
Steven Walter <stevenrwalter@gmail.com>
Date
Aug 22, 2007, 16:58 UTC
Message-ID
<20070822165846.GA17815@dervierte>
In-Reply-To
<20070822113325.1bihryuk4gko8kgs@intranet.digizenstudio.com>
On Wed, Aug 22, 2007 at 11:33:25AM -0400, Jing Xue wrote:
Show 14 quoted lines
> 
> I am new to git. Last night I used "git svnimport -i" to import a svn  
> project. It finished successfully. The only problem now is I can't  
> seem to be able to checkout a working copy. In other words, I have a  
> 'projectFoo' directory, with only .git in it, but not any actual  
> working files. "git-branch" shows two branches, master and origin.  
> "git-checkout master" returns successfully, but does nothing.
> 
> I guess that's because I used -i without fully understanding what it  
> implies. Is there any way to checkout a working directory?
> 
> Thanks in advance for any ideas.
> -- 
> Jing Xue

See if "git reset --hard master" doesn't check out the files for you. I seem to recall an issue where, after an import, no files were checked out. reset fixed it for me.

-- 
-Steven Walter <stevenrwalter@gmail.com>
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects."
   -Robert Heinlein
Previous: Jing XueNext: Jing Xue
Message 2 of 8 in “git-svnimport: what to do after -i?”
  1. Jing XueAug 22, 2007
  2. Steven WalterAug 22, 2007
  3. Jing XueAug 22, 2007
  4. Jing XueAug 23, 2007
  5. Julian PhillipsAug 23, 2007
  6. Jing XueAug 23, 2007
  7. Julian PhillipsAug 24, 2007
  8. Jing XueAug 24, 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.