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,820
  • 5
  • 32
  • 42

2 Answers2

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

example:

git log --author='Some Name'
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
JBourne
  • 335
  • 1
  • 3
  • 12
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
  • 776
  • 4
  • 16