mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
git-status: add some examples (#11119)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
0ed30a6711
commit
aa10402b9e
1 changed files with 13 additions and 5 deletions
|
@ -10,12 +10,20 @@
|
|||
|
||||
- Give output in [s]hort format:
|
||||
|
||||
`git status -s`
|
||||
`git status --short`
|
||||
|
||||
- Show the [b]ranch and tracking info:
|
||||
|
||||
`git status --branch`
|
||||
|
||||
- Show output in [s]hort format along with [b]ranch info:
|
||||
|
||||
`git status --short --branch`
|
||||
|
||||
- Show the number of entries currently stashed away:
|
||||
|
||||
`git status --show-stash`
|
||||
|
||||
- Don't show untracked files in the output:
|
||||
|
||||
`git status --untracked-files=no`
|
||||
|
||||
- Show output in [s]hort format along with [b]ranch info:
|
||||
|
||||
`git status -sb`
|
||||
|
|
Loading…
Add table
Reference in a new issue