将远程 git 存储库添加到当前 git svn 存储库的风险

Risks of adding a remote git repository to current git svn repository

我正在 rails 项目中工作,该项目使用 SVN 作为中央存储库,但我正在(本地)使用 git-svn,我想添加一个遥控器,我只会推送 master 用于测试目的(我将推送到 Heroku)。

我从 chapter 9.1 of Pro Git 读到这个(我的重点):

Don’t rewrite your history and try to push again, and don’t push to a parallel Git repository to collaborate with fellow Git developers at the same time. Subversion can have only a single linear history, and confusing it is very easy. If you’re working with a team, and some are using SVN and others are using Git, make sure everyone is using the SVN server to collaborate — doing so will make your life easier.

我不会与其他 Git 开发人员合作(其他人都在使用 SVN),但在设置之前,我只想确定是否这样做有任何相关的风险,如果是这样,我会怎么做should/could。

如果它只是为了推送到一个回购,这样你就可以 checkout/build/deploy,这不会有什么坏处。你注意到的那个警告在那里说明,这样你就不会开始在你使用 git-svn 的 repo 上做疯狂的事情来与其他也使用 git-svn 的开发人员相关(加上其他限制)因为在 git-svn.

上保留修订的方式