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,7 +9,7 @@
- Add all files (tracked and untracked):
`git add -A`
`git add {{--all|-A}}`
- Add all files in the current folder:
@@ -17,20 +17,20 @@
- Only add already tracked files:
`git add -u`
`git add {{--update|-u}}`
- Also add ignored files:
`git add -f`
`git add {{--force|-f}}`
- Interactively stage parts of files:
`git add -p`
`git add {{--patch|-p}}`
- Interactively stage parts of a given file:
`git add -p {{path/to/file}}`
`git add {{--patch|-p}} {{path/to/file}}`
- Interactively stage a file:
`git add -i`
`git add {{--interactive|-i}}`