Skip to content

Instantly share code, notes, and snippets.

@gbp
Created June 29, 2009 12:44
Show Gist options
  • Select an option

  • Save gbp/137600 to your computer and use it in GitHub Desktop.

Select an option

Save gbp/137600 to your computer and use it in GitHub Desktop.
git svn clone --revision 3226:HEAD --authors-file=../core-users.txt --trunk=development/4.x --branches=development/* --tags=releases/* http://textpattern.googlecode.com/svn ../tmp
git remote add tmp ../tmp
git fetch tmp
git status
git cherry-pick 2ab88af5f8eed943dc53d269f1c114e4d188dbbb
git remote rm tmp
rm -rf ../tmp
git log -1 --pretty=format:"%H%n" > .git/refs/remotes/trunk
sed -i '' -e 's/4\.0/4\.x/' .git/config
git svn rebase --authors-file=../core-users.txt
git filter-branch --env-filter '
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
export GIT_COMMITTER_DATE=$GIT_AUTHOR_DATE
' -- --after="2009-06-22 12:44:59"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment