Files
tldr/pages/common/git-log.md
Todd M. Guerra 85262973fa Add some extra detail to git log command
Added the useful —oneline flag and also info on how to quit out (since
I always forget).
2015-10-09 16:00:28 -04:00

266 B

#git log

Show a history of commits

  • Show a history of commits

git log

  • Show the history of a particular file or directory, including differences

git log -p PATH

  • Show only the first line of each commits

git log --oneline

  • Quit out of git log

q