1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 13:19:46 +01: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:
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

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`