Difference between revisions of "Git log"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/31306082
↑ https://stackoverflow.com/a/9597462
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
https://git-scm.com/docs/git-log | https://git-scm.com/docs/git-log | ||
− | {{git log}} | + | {{git log TOC}} |
Line 10: | Line 10: | ||
== See also == | == See also == | ||
− | * {{git}} | + | * {{git log}} |
[[Category:git]] | [[Category:git]] |
Latest 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[edit]
git show 3c88ad72430
See also[edit]
Advertising: