Skip to content

Commit 8181a37

Browse files
committed
clean files from .gitignore
1 parent 6197057 commit 8181a37

File tree

2 files changed

+296
-286
lines changed

2 files changed

+296
-286
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
* [Show inline word diff.](https://github.com/git-tips/tips#show-inline-word-diff)
7272
* [Don’t consider changes for tracked file.](https://github.com/git-tips/tips#dont-consider-changes-for-tracked-file)
7373
* [Undo assume-unchanged.](https://github.com/git-tips/tips#undo-assume-unchanged)
74+
* [Clean the files from `.gitignore`.](https://github.com/git-tips/tips#clean-the-files-from-gitignore)
7475

7576
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
7677
<!-- @doxie.inject end toc -->
@@ -497,5 +498,10 @@ git update-index --assume-unchanged <file_name>
497498
git update-index --no-assume-unchanged <file_name>
498499
```
499500

501+
## Clean the files from `.gitignore`.
502+
```sh
503+
git clean -X -f
504+
```
505+
500506
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
501507
<!-- @doxie.inject end -->

0 commit comments

Comments
 (0)