1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-22 11:14:39 +00:00

clean files from .gitignore

This commit is contained in:
Hemanth.HM 2015-12-21 19:25:46 +05:30
parent 6197057dc7
commit 8181a37dd1
2 changed files with 296 additions and 286 deletions

View File

@ -71,6 +71,7 @@
* [Show inline word diff.](https://github.com/git-tips/tips#show-inline-word-diff)
* [Dont consider changes for tracked file.](https://github.com/git-tips/tips#dont-consider-changes-for-tracked-file)
* [Undo assume-unchanged.](https://github.com/git-tips/tips#undo-assume-unchanged)
* [Clean the files from `.gitignore`.](https://github.com/git-tips/tips#clean-the-files-from-gitignore)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -497,5 +498,10 @@ git update-index --assume-unchanged <file_name>
git update-index --no-assume-unchanged <file_name>
```
## Clean the files from `.gitignore`.
```sh
git clean -X -f
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -284,5 +284,9 @@
{
"title": "Undo assume-unchanged.",
"tip": "git update-index --no-assume-unchanged <file_name>"
},
{
"title": "Clean the files from `.gitignore`.",
"tip": "git clean -X -f"
}
]