From 25adf84c03428969ff41d82c8d6c2f3744f1d2ea Mon Sep 17 00:00:00 2001 From: Ehab Alsharif <36003641+sanehab@users.noreply.github.com> Date: Sat, 24 Oct 2020 15:41:47 +0300 Subject: [PATCH] git-ls-files: add page (#4753) --- pages/common/git-ls-files.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/git-ls-files.md diff --git a/pages/common/git-ls-files.md b/pages/common/git-ls-files.md new file mode 100644 index 000000000..08e85eb2c --- /dev/null +++ b/pages/common/git-ls-files.md @@ -0,0 +1,16 @@ +# git ls-files + +> Show information about files in the index and the working tree. +> More information: . + +- Show deleted files: + +`git ls-files --deleted` + +- Show modified and deleted files: + +`git ls-files --modified` + +- Show ignored and untracked files: + +`git ls-files --others`