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

SVN->GIT conversion question: how to make git svn not rebase some git commits

From
RZRobert Zeh <robert.allan.zeh@gmail.com>
Date
Aug 27, 2010, 00:47 UTC
Message-ID
<D153FFD0-67BA-4E1E-BB04-2A6D01EF00C3@gmail.com>
I am porting a medium size (2GB) subversion repository to git. I have already done an initial git svn fetch with generous filters, to filter out directories for which I do not want history. 
However, I would like to import a snapshot of the filtered directories and, here is the tricky part for me, continue using svn fetch without rebasing the snapshot commit. I would like the history to look like:
S1 -> S2 -> G1 -> S3
Where Sx is a Subversion commit and G1 contains the snapshot. 
I want to maintain this strange history so that I can gradually introduce git as a read only repository in parts of my environment, and then do a full switch over. 
Robert
Message 1 of 1 in “SVN->GIT conversion question: how to make git svn not rebase some git commits”
  1. Robert ZehAug 27, 2010

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.