I have a cloned git-svn repo. Using "git svn rebase" will get me latest revision of svn, but how do I get an svn revision like I do with "svn update -rXXXXX"?
EDIT:
What I meant is to update to an upstream svn revision as opposed to a local git change set.
Update:
I accepted Greg Hewgill’s answer, although the real solution is in his comments, as following steps:
- git svn rebase
- git log, and find commit ID that is between the local svn revision before Step 1 and latest upstream svn revision.
- git checkout commitID
Find out which Git commit identifier corresponds to the Subversion revision you are interested in (
git logcan help here), and then usegit checkoutto check out that commit.