File tree Expand file tree Collapse file tree 2 files changed +296
-286
lines changed Expand file tree Collapse file tree 2 files changed +296
-286
lines changed Original file line number Diff line number Diff line change 71
71
* [ Show inline word diff.] ( https://github.com/git-tips/tips#show-inline-word-diff )
72
72
* [ Don’t consider changes for tracked file.] ( https://github.com/git-tips/tips#dont-consider-changes-for-tracked-file )
73
73
* [ 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 )
74
75
75
76
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
76
77
<!-- @doxie.inject end toc -->
@@ -497,5 +498,10 @@ git update-index --assume-unchanged <file_name>
497
498
git update-index --no-assume-unchanged < file_name>
498
499
```
499
500
501
+ ## Clean the files from ` .gitignore ` .
502
+ ``` sh
503
+ git clean -X -f
504
+ ```
505
+
500
506
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
501
507
<!-- @doxie.inject end -->
You can’t perform that action at this time.
0 commit comments