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 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>
497498git 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 -->
You can’t perform that action at this time.
0 commit comments