Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb67fa3

Browse files
committed
more git instructions
svn path=/trunk/matplotlib/; revision=6878
1 parent b2376ea commit eb67fa3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

doc/devel/coding_guide.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ rebase it to the new master::
224224
git checkout whizbang-branch
225225
git rebase master
226226

227+
If you get the dreaded "Unable to determine upstream SVN information
228+
from working tree history" error when running "git svn rebase", try
229+
creating a new git branch based on subversion trunk and cherry pick
230+
your patches onto that::
231+
232+
git checkout -b work remotes/trunk # create a new "work" branch
233+
git cherry-pick <commit> # where <commit> will get applied to new branch
234+
227235
Working on a maintenance branch from git
228236
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229237

0 commit comments

Comments
 (0)