Skip to content

Commit 46e66ce

Browse files
committed
Status of ignored files.
1 parent 27f7cef commit 46e66ce

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
* [squash fixup commits normal commits.](https://github.com/git-tips/tips#squash-fixup-commits-normal-commits)
8989
* [skip staging area during commit.](https://github.com/git-tips/tips#skip-staging-area-during-commit)
9090
* [List ignored files.](https://github.com/git-tips/tips#list-ignored-files)
91+
* [Status of ignored files.](https://github.com/git-tips/tips#status-of-ignored-files)
9192

9293
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
9394
<!-- @doxie.inject end toc -->
@@ -611,5 +612,10 @@ git commit -am 'commit message'
611612
git check-ignore *
612613
```
613614

615+
## Status of ignored files.
616+
```sh
617+
git status --ignored
618+
```
619+
614620
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
615621
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,7 @@
269269
},{
270270
"title": "List ignored files.",
271271
"tip": "git check-ignore *"
272+
},{
273+
"title": "Status of ignored files.",
274+
"tip": "git status --ignored"
272275
}]

0 commit comments

Comments
 (0)