mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 06:50:32 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View a summary of all the commits made, sorted by the number of commits made:
|
||||
|
||||
`git shortlog -n`
|
||||
`git shortlog {{--numbered|-n}}`
|
||||
|
||||
- View a summary of all the commits made, grouped by the committer identities (name and email):
|
||||
|
||||
`git shortlog -c`
|
||||
`git shortlog {{--committer|-c}}`
|
||||
|
||||
- View a summary of the last 5 commits (i.e. specify a revision range):
|
||||
|
||||
@@ -26,8 +26,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View all users, emails and the number of commits in the current branch:
|
||||
|
||||
`git shortlog -sne`
|
||||
`git shortlog {{--summary|-s}} {{--numbered|-n}} {{--email|-e}}`
|
||||
|
||||
- View all users, emails and the number of commits in all branches:
|
||||
|
||||
`git shortlog -sne --all`
|
||||
`git shortlog {{--summary|-s}} {{--numbered|-n}} {{--email|-e}} --all`
|
||||
|
||||
Reference in New Issue
Block a user