简体   繁体   English

将git存储库推送到具有历史记录的远程subversion

[英]Push git repository to remote subversion with history

I'd like to push my existing git repository with its' complete history into a remote subversion repository via git-svn . 我想通过git-svn将我现有的git存储库及其完整的历史记录推送到远程的subversion存储库中。 Is this possible without losing the commit history? 这可能不会丢失提交历史吗? I already rebased my changes so, there is only a master branch up to date. 我已经重新定义了我的更改,所以只有一个主分支更新。

Yes, dcommit will preserve the history granted you have rebased (thus have no merge commits to be pushed). 是的,dcommit将保留您已重新命名的历史记录(因此没有要推送的合并提交)。 Username at svn for all revisions will keep the credentials of the pusher though. svn中用于所有修订的用户名将保留推送器的凭据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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