I\'m using git-svn. How can I get a list of what I\'ve committed into git, but haven\'t yet committed to the SVN repository since the last git svn dcommit
? That
I use git log --oneline --graph
:
* aaaaaaa commit message
* bbbbbbb commit message
|\
| * ccccccc commit message
| * ffffdffffdd commit message
| * eeeeeee commit message
|/
* fffffff commit message
|\
...
It's easy to see that commits aaaaaaa
, bbbbbbb
, and fffffff
are on the current (master) branch. These commits either have already been or will be committed to Subversion the next time you execute git svn dcommit
. (Commits ccccccc
, ffffdffffdd
, eeeeeee
are on a separate branch which was merged into master and will not be committed to Subversion as separate commits.)