mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 03:13:38 +02:00
Add some extra detail to git log command
Added the useful —oneline flag and also info on how to quit out (since I always forget).
This commit is contained in:
parent
08c5eefd1a
commit
85262973fa
1 changed files with 8 additions and 0 deletions
|
@ -9,3 +9,11 @@
|
|||
- Show the history of a particular file or directory, including differences
|
||||
|
||||
`git log -p PATH`
|
||||
|
||||
- Show only the first line of each commits
|
||||
|
||||
`git log --oneline`
|
||||
|
||||
- Quit out of git log
|
||||
|
||||
`q`
|
||||
|
|
Loading…
Add table
Reference in a new issue