mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 01:49:22 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- [i]nteractively delete untracked files:
|
||||
|
||||
`git clean -i`
|
||||
`git clean {{--interactive|-i}}`
|
||||
|
||||
- Show which files would be deleted without actually deleting them:
|
||||
|
||||
`git clean --dry-run`
|
||||
|
||||
- [f]orcefully delete untracked files:
|
||||
- Forcefully delete untracked files:
|
||||
|
||||
`git clean -f`
|
||||
`git clean {{--force|-f}}`
|
||||
|
||||
- [f]orcefully delete untracked [d]irectories:
|
||||
- Forcefully delete untracked [d]irectories:
|
||||
|
||||
`git clean -fd`
|
||||
`git clean {{--force|-f}} -d`
|
||||
|
||||
- Delete untracked files, including e[x]cluded files (files ignored in `.gitignore` and `.git/info/exclude`):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user