git-status: improve main description & add example (#3620)

client-spec/clarity
Waldir Pimenta 2019-11-26 19:12:12 +00:00 committed by Starbeamrainbowlabs
parent 293d698b85
commit 65a39312bd
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# 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>.
- Show changed files which are not yet added for commit:
@ -10,3 +11,7 @@
- Give output in short format:
`git status -s`
- Don't show untracked files in the output:
`git status --untracked-files=no`