Difference between revisions of "Git log"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/31306082
↑ https://stackoverflow.com/a/9597462
Line 8: | Line 8: | ||
== Related commands == | == Related commands == | ||
* <code>[[git show]] 3c88ad72430</code> | * <code>[[git show]] 3c88ad72430</code> | ||
+ | * [[Pager]] | ||
== See also == | == See also == |
Revision as of 07:33, 27 August 2024
https://git-scm.com/docs/git-log
git log
git log -1
git log -p
git log --all
git log --oneline
git log -p -- filename
git log --pretty=format:"%h - %an, %ar on %cd: %s"
- Show modifications to a file:
git log --follow -p FILE_TO_SHOW
[1] orgit blame FILE_TO_SHOW
git shortlog
- List developers:
git shortlogs -sne
[2] git log --tags --simplify-by-decoration --pretty="format:%ci %d"
git log -p --all -S
Related commands
See also
Advertising: