Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-01 00:19:16 +00:00
parent a05eb0e931
commit bb9d5922fa
24 changed files with 60 additions and 48 deletions

View File

@@ -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`):