Difference between revisions of "Template:Git log"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <code>git log --pretty=format:"%h - %an, %ar on %cd: %s"</code>
 
* <code>git log --pretty=format:"%h - %an, %ar on %cd: %s"</code>
 
* Show modifications to a file:<code>git log --follow -p FILE_TO_SHOW</code><ref>https://stackoverflow.com/a/31306082</ref> or <code>git blame FILE_TO_SHOW</code>
 
* Show modifications to a file:<code>git log --follow -p FILE_TO_SHOW</code><ref>https://stackoverflow.com/a/31306082</ref> or <code>git blame FILE_TO_SHOW</code>
* <code>git shortlog</code>
+
* <code>[[git shortlog]]</code>
 
* List developers: <code>git shortlogs -sne</code><ref>https://stackoverflow.com/a/9597462</ref>
 
* List developers: <code>git shortlogs -sne</code><ref>https://stackoverflow.com/a/9597462</ref>
 
* git log --tags --simplify-by-decoration --pretty="format:%ci %d"
 
* git log --tags --simplify-by-decoration --pretty="format:%ci %d"

Revision as of 15:32, 5 February 2020

  • git log
  • git log -p
  • git log --all
  • git log --oneline
  • git log --pretty=format:"%h - %an, %ar on %cd: %s"
  • Show modifications to a file:git log --follow -p FILE_TO_SHOW[1] or git blame FILE_TO_SHOW
  • git shortlog
  • List developers: git shortlogs -sne[2]
  • git log --tags --simplify-by-decoration --pretty="format:%ci %d"
  • https://stackoverflow.com/a/31306082
  • https://stackoverflow.com/a/9597462
  • Advertising: