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>
pull/23/head
Raynaldo Sutisna 2023-10-21 15:45:38 -04:00 committed by GitHub
parent 0ed30a6711
commit aa10402b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 5 deletions

View File

@ -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`