mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 00:42:08 +02:00
git-clean: add page
This commit is contained in:
parent
06b412caa1
commit
18b9f11a29
1 changed files with 15 additions and 0 deletions
15
pages/common/git-clean.md
Normal file
15
pages/common/git-clean.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# git clean
|
||||
|
||||
> Remove untracked files from the working tree.
|
||||
|
||||
- Delete files that are not tracked by git:
|
||||
|
||||
`git clean`
|
||||
|
||||
- Interactively delete files that are not tracked by git:
|
||||
|
||||
`git clean -i`
|
||||
|
||||
- Shows what files would be deleted without actually deleting them:
|
||||
|
||||
`git clean --dry-run`
|
Loading…
Add table
Reference in a new issue