Skip to content

Instantly share code, notes, and snippets.

@dscho dscho/gist:1854723
Created Feb 17, 2012

What would you like to do?
Initial .git/config for accelerated git-svn clones of ImageJ2's source code repository
# 1) git init
# 2) overwrite .git/config with this file
# 3) git fetch
# This step takes some time:
# 4) git svn fetch
# 5) git checkout -b master -t trunk
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git://
pushURL =
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/heads/svn/*:refs/remotes/*
[svn-remote "svn"]
url =
fetch = trunk:refs/remotes/trunk
branches = branches/*:refs/remotes/*
tags = tags/*:refs/remotes/tags/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.