From 65a39312bd880c51a9e3fa635420d519b9d31c27 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Tue, 26 Nov 2019 19:12:12 +0000 Subject: [PATCH] git-status: improve main description & add example (#3620) --- pages/common/git-status.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/common/git-status.md b/pages/common/git-status.md index 4f76f32a1..a0ec0e008 100644 --- a/pages/common/git-status.md +++ b/pages/common/git-status.md @@ -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: . - 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`