-2

Possible Duplicate:
GIT: How to read last commit comment?

How can I see the comments on the last commitment from the command line

Community
  • 1
  • 1
rraallvv
  • 2,875
  • 6
  • 30
  • 67
  • Yep, that's what I was looking for.... I couldn't find it in google, maybe the tags on that question are not so relevant – rraallvv Dec 04 '12 at 09:55

2 Answers2

1

with git log you should see all old commits with the author, date and comment.

Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225
dontcare
  • 935
  • 3
  • 16
  • 34
1

You can use git log to show a log of past commits. If you only want to see the last commit, you can use git log -1. The same pattern works for any number of past commits. So, git log -5 will show the past 5 commits.

Cyphase
  • 11,502
  • 2
  • 31
  • 32