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

Re: git export to svn

From
JJ.H. <warthog19@eaglescrag.net>
Date
Oct 25, 2008, 18:43 UTC
Message-ID
<1224960205.2874.11.camel@localhost.localdomain>
In-Reply-To
<FC51BBF1-B2CA-4A00-9312-2333FDA537C2@gmail.com>

The basic way you would want to do it, it attach your git tree to SVN and then git svn dcommit - which will replay the uncommitted changes back into SVN - git svn init will do the attachment - assuming that your git / svn repositories are at least based from the same place.

- John 'Warthog9' Hawley
On Sat, 2008-10-25 at 11:40 -0700, Warren Harris wrote:
Show 10 quoted lines
> Is there a way to export a git repository along with its history to  
> svn? (git svn init seems to want to go in the other direction.) I know  
> this is in some sense "going backwards" but I need to commit my work  
> to a client. Thanks,
> 
> Warren
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Warren HarrisNext: Warren Harris
Message 2 of 9 in “git export to svn”
  1. Warren HarrisOct 25, 2008
  2. J.H.Oct 25, 2008
  3. Warren HarrisOct 25, 2008
  4. J.H.Oct 25, 2008
  5. Warren HarrisOct 25, 2008
  6. Björn SteinbrinkOct 26, 2008
  7. Warren HarrisOct 26, 2008
  8. Björn SteinbrinkOct 26, 2008
  9. Warren HarrisOct 29, 2008

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.