mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-23 00:26:28 +00:00
18 lines
277 B
Markdown
18 lines
277 B
Markdown
---
|
|
tags:
|
|
- git
|
|
- clean
|
|
- gitignore
|
|
- delete
|
|
---
|
|
|
|
# Delete all files mentioned by `.gitignore`
|
|
|
|
This command is useful if you want to reset a repository to it's checked out state.
|
|
|
|
```bash
|
|
git clean -Xdf
|
|
```
|
|
|
|
[Original SO Link](https://unix.stackexchange.com/a/542735)
|