Skip to content

Instantly share code, notes, and snippets.

@kyuwoo-choi
Created November 24, 2011 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyuwoo-choi/1390757 to your computer and use it in GitHub Desktop.
Save kyuwoo-choi/1390757 to your computer and use it in GitHub Desktop.
Commit to SVN from a git repo
git svn init -s http://example.com/svn/my_proj
git svn fetch
git branch -a
git repack -d
git checkout -b new_feature
git add path/to/new_file
git add path/to/edited_file
git add another/edited/file
git commit -m "commit message"
git commit -a -m "commit message"
git checkout master
git merge new_feature
git svn rebase
git svn dcommit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment