1

I nice command could be:

git commit -ls

I wanna see all commits that I did before push it to Remote. I've tried git diff with its commands such --cached but it's not what I need now.

felipekm
  • 2,730
  • 5
  • 31
  • 41

2 Answers2

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

example:

git log --author='Some Name'
Chris
  • 112,704
  • 77
  • 249
  • 231
JBourne
  • 326
  • 1
  • 2
  • 11
1

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'
Bradley Kaiser
  • 766
  • 4
  • 15