Command (or script) similar to git status to show all local commits since last git svn dcommit?

前端 未结 5 1389
梦如初夏
梦如初夏 2021-01-13 14:14

This python script is the best I have come up with so far. I just hacked it together and on a cursory first couple uses, seems to be acting correctly, but I can\'t help but

5条回答
  •  感动是毒
    2021-01-13 14:41

    After playing around with Greg's suggestion, I ended up with this:

    git log remotes/trunk.. --oneline
    

    which I will either alias or wrap in a small script.

    The reason why this works and his suggestion didn't is that my remopte svn branch is remotes/trunk not git-svn. I don't know if this is standard or not, especially since Greg assumed git-svn.

提交回复
热议问题