简体   繁体   中英

How can I copy a git repository into a new svn repostory?

I have some code that I want to put into an svn repository for a client after doing some work on it in git, is there any way to initialize a svn repository using a git repository's history?

I have initialized git repositories from svn repositories, and regularly commit between existing svn and git repositories, but I don't know how to go about in the opposite direction, creating an svn repository from a git repository.

Yeah, Google Code has a good example. An adapted example is described here .

The gist of it is that you need to fake out the first commit and then rebase and dcommit.

尝试使用git-svn -Subversion存储库和git之间的双向操作...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM