Pushing an existing svn repository to git

前端 未结 1 2015
误落风尘
误落风尘 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 
    

    ... 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)
提交回复
热议问题