Difference between revisions of "Git log"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/31306082
↑ https://stackoverflow.com/a/9597462
Line 11: | Line 11: | ||
== See also == | == See also == | ||
* {{git log}} | * {{git log}} | ||
− | |||
[[Category:git]] | [[Category:git]] |
Revision as of 14:17, 17 February 2023
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
git show 3c88ad72430
See also
Advertising: