git-*: convert options to longform and minor fixes (#13441)

Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
Managor
2024-08-31 14:06:48 +03:00
committed by GitHub
parent 6d983d1acb
commit db25f60eb1
20 changed files with 46 additions and 46 deletions

View File

@@ -9,19 +9,19 @@
- [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`):