diff --git a/README.md b/README.md index a4fc9ad..fef9feb 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ * [Delete all stored stashes](https://github.com/git-tips/tips#delete-all-stored-stashes) * [Show all tracked files](https://github.com/git-tips/tips#show-all-tracked-files) * [Show all untracked files](https://github.com/git-tips/tips#show-all-untracked-files) +* [Show all ignored files](https://github.com/git-tips/tips#show-all-ignored-files) @@ -239,5 +240,10 @@ git ls-files -t git ls-files --others ``` +## Show all ignored files +```sh +git ls-files --others -i --exclude-standard +``` + diff --git a/tips.json b/tips.json index 72b80b2..788eedd 100644 --- a/tips.json +++ b/tips.json @@ -135,5 +135,9 @@ { "title":"Show all untracked files", "tip":"git ls-files --others" + }, + { + "title": "Show all ignored files", + "tip": "git ls-files --others -i --exclude-standard" } ]