Skip to content

Instantly share code, notes, and snippets.

@shiwork
Last active August 29, 2015 13:56
Show Gist options
  • Save shiwork/8837013 to your computer and use it in GitHub Desktop.
Save shiwork/8837013 to your computer and use it in GitHub Desktop.
Subversionからgitへ移行する時

Subsonicにちょっと手を加えたかったのでsvnからgitに移し替えた。

git2svnについては未だ特に方法は調べてないが、とりあえずコレでSVNの修正は取得できてるっぽい。

[svn-remote "svn"]
    noMetadata = 1
    url = http://svn.code.sf.net/p/subsonic/code
    fetch = trunk:refs/heads/svn/trunk
    branches = branches/*:refs/heads/svn/*
    tags = tags/*:refs/svn/tags/*
[svn]
    authorsfile = users.txt

svn2git

git svn fetch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment