Difference between revisions of "Template:Git log TOC"

From wikieduonline
Jump to navigation Jump to search
(Created page with "* <code>git log</code> * <code>git log -1</code> * <code>git log -p</code> * <code>git log --all</code> * <code>git log --oneline</code> * <code>git log...")
 
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
* <code>[[git log --all]]</code>
 
* <code>[[git log --all]]</code>
 
* <code>[[git log --oneline]]</code>
 
* <code>[[git log --oneline]]</code>
 +
* <code>[[git log -p -- filename]]</code>
 
* <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>
Line 9: Line 10:
 
* 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>
 
* <code>git log --tags --simplify-by-decoration --pretty="format:%ci %d"</code>
 
* <code>git log --tags --simplify-by-decoration --pretty="format:%ci %d"</code>
 +
* <code>[[git log -p --all -S]]</code>

Latest revision as of 08:31, 28 March 2023

  • https://stackoverflow.com/a/31306082
  • https://stackoverflow.com/a/9597462
  • Advertising: