0
commit5 master
commit4
commit3
commit2 git-svn
commit1

If this the scenario, git-svn is where svn is at. What if I want to push only commit 3 but not commit 4 and 5 yet, how do i achieve this?

git svn dcommit --interactive doesn't help. It stops if i say no for commit 4

then it should later look like:

commit5 master
commit4
commit3 git-svn
commit2
commit1

1 Answer 1

1

Ok it was fairly simple.

git checkout commmit3
git svn dcommit
git checkout master
git svn rebase

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.