Revision: e3fa877080ce
Author: jean.deruelle <[email protected]>
Date: Wed Apr 11 06:23:17 2012
Log: Edited wiki page GitSVNCommands through web user interface.
http://code.google.com/p/jain-sip/source/detail?r=e3fa877080ce&repo=wiki
Modified:
/GitSVNCommands.wiki
=======================================
--- /GitSVNCommands.wiki Tue Apr 3 06:54:52 2012
+++ /GitSVNCommands.wiki Wed Apr 11 06:23:17 2012
@@ -156,6 +156,17 @@
{{{
git up origin trunk
}}}
+
+
+In case you messed up pretty bad your local git svn syncing and it always
tries to fast forward and commit a bunch of revisions that have already
been committed over and over again. You can delete your current branch
locally and remotely and create a new by tracking the remote trunk :
+
+{{{
+git branch -D master
+git push origin :master
+
+git checkout -b git-trunk remotes/trunk
+git push origin git-trunk
+}}}
To create a diff with untracked files not included in the diff you can run