mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 03:02:08 +02:00

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>
29 lines
651 B
Markdown
29 lines
651 B
Markdown
# git status
|
|
|
|
> Show the changes to files in a Git repository.
|
|
> Lists changed, added and deleted files compared to the currently checked-out commit.
|
|
> More information: <https://git-scm.com/docs/git-status>.
|
|
|
|
- Show changed files which are not yet added for commit:
|
|
|
|
`git status`
|
|
|
|
- Give output in [s]hort format:
|
|
|
|
`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`
|