Skip to content

Instantly share code, notes, and snippets.

@stas
Created October 10, 2012 09:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stas/3864443 to your computer and use it in GitHub Desktop.
Save stas/3864443 to your computer and use it in GitHub Desktop.
WordPress Git SVN config example
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
autocrlf = false
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:Courseware/buddypress-courseware.git
[branch "master"]
remote = origin
merge = refs/heads/master
[svn-remote "svn"]
url = https://svn.wp-plugins.org
fetch = buddypress-courseware/trunk:refs/remotes/svn/trunk
; since wp-plugins guys love so much non-standard svn layout, we can only follow
fetch = buddypress-courseware/assets:refs/remotes/svn/assets
branches = buddypress-courseware/branches/*:refs/remotes/svn/*
tags = buddypress-courseware/tags/*:refs/remotes/svn/tags/*
[branch "gh-pages"]
remote = origin
merge = refs/heads/gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment