mirror of https://github.com/CrimsonTome/tldr.git
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).waldyrious/alt-syntax
parent
08c5eefd1a
commit
85262973fa
|
@ -9,3 +9,11 @@
|
||||||
- Show the history of a particular file or directory, including differences
|
- Show the history of a particular file or directory, including differences
|
||||||
|
|
||||||
`git log -p PATH`
|
`git log -p PATH`
|
||||||
|
|
||||||
|
- Show only the first line of each commits
|
||||||
|
|
||||||
|
`git log --oneline`
|
||||||
|
|
||||||
|
- Quit out of git log
|
||||||
|
|
||||||
|
`q`
|
||||||
|
|
Loading…
Reference in New Issue