Pushing an existing svn repository to git

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 continue using SVN but push to AppHarbor’s git repository from time to time. Is there an easy way to achieve this?

  • Push to multiple remote repositories from a single local repo in Mercurial
  • Integrating Assembla (or similars) with AppHarbor (or similars, like heroku)
  • How to get msysgit to clone a repository where I want it to go?
  • deploying to AppHarbor using subversion
  • Pushing folder with GIT Bash to Appharbor is not pushing subfolder
  • Teamcity and git repository, connection fails
  • How to view file history in Git?
  • Is it possible to display a list of all changed files in all commits of a branch in Visual Studio 2017?
  • git diff filtered by file name
  • Would it make sense to use Git for this project?
  • Ignoring Merged Commits when displaying git log
  • Keeping all history when moving from svn to git
  • One Solution collect form web for “Pushing an existing svn repository to git”

    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.

    Git Baby is a git and github fan, let's start git clone.