Skip to content

Instantly share code, notes, and snippets.

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

Embed
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
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git://code.imagej.net/imagej.git
pushURL = git@code.imagej.net:imagej.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/heads/svn/*:refs/remotes/*
[svn-remote "svn"]
url = http://code.imagej.net/svn/imagej
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.