mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
git-status: improve main description & add example (#3620)
This commit is contained in:
parent
293d698b85
commit
65a39312bd
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
# git status
|
# git status
|
||||||
|
|
||||||
> Show the index (changed files).
|
> 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>.
|
> More information: <https://git-scm.com/docs/git-status>.
|
||||||
|
|
||||||
- Show changed files which are not yet added for commit:
|
- Show changed files which are not yet added for commit:
|
||||||
|
@ -10,3 +11,7 @@
|
||||||
- Give output in short format:
|
- Give output in short format:
|
||||||
|
|
||||||
`git status -s`
|
`git status -s`
|
||||||
|
|
||||||
|
- Don't show untracked files in the output:
|
||||||
|
|
||||||
|
`git status --untracked-files=no`
|
||||||
|
|
Loading…
Add table
Reference in a new issue