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,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Add all files (tracked and untracked):
`git add -A`
`git add {{--all|-A}}`
- Add all files in the current folder:
@@ -22,20 +22,20 @@ source: https://github.com/tldr-pages/tldr.git
- 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}}`