Pushing an existing svn repository to git

前端 未结 1 2013
误落风尘
误落风尘 2021-01-24 05:42

I\'m using SVN and I\'m not planning to migrate to Git for now. I\'d like to try out AppHarbor but currently you must use Git to deploy code to AppHarbor.

I\'d like to c

相关标签:
1条回答
  • 2021-01-24 06:06

    You can create a git clone of your SVN repository with:

    git svn clone --stdlayout <URL-OF-YOUR-SVN-REPOSITORY>
    

    ... and keep that up to date by periodically running:

    git svn rebase
    

    ... in the directory created by the git svn clone. You can then push from that git mirror of your Subversion repository to AppHarbor.

    0 讨论(0)
提交回复
热议问题