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 2 users not shown) | |||
Line 8: | Line 8: | ||
== Related commands == | == Related commands == | ||
* <code>[[git show]] 3c88ad72430</code> | * <code>[[git show]] 3c88ad72430</code> | ||
+ | * [[git --no-pager]] | ||
== See also == | == See also == | ||
* {{git log}} | * {{git log}} | ||
− | |||
[[Category:git]] | [[Category:git]] |
Latest 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[edit]
git show 3c88ad72430
- git --no-pager
See also[edit]
Advertising: