How to see Commits that I've made

This question already has an answer here:

  • Viewing Unpushed Git Commits 24 answers

  • git log --author='your name registered with git within quotes'
    

    例:

    git log --author='Some Name'
    

    To see the commits in your version of master but not in origin's master is this

    git log origin/master..master
    

    I have also set up an alias for git log that makes a lot of this kind of info easier to see. You might want to give it a shot.

    lg = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
    
    链接地址: http://www.djcxy.com/p/31750.html

    上一篇: Git:如何识别改变了什么?

    下一篇: 如何看到我已经做出的承诺