Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-08 00:14:59 +00:00
parent a812b3c467
commit f8bee5305f
111 changed files with 540 additions and 310 deletions

View File

@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
- Add all files (tracked and untracked):
`git add {{-A|--all}}`
`git add {{[-A|--all]}}`
- Add all files in the current folder:
- Add all files recursively starting from the current folder:
`git add .`
- Only add already tracked files:
`git add {{-u|--update}}`
`git add {{[-u|--update]}}`
- Also add ignored files:
`git add {{-f|--force}}`
`git add {{[-f|--force]}}`
- Interactively stage parts of files:
`git add {{-p|--patch}}`
`git add {{[-p|--patch]}}`
- Interactively stage parts of a given file:
`git add {{-p|--patch}} {{path/to/file}}`
`git add {{[-p|--patch]}} {{path/to/file}}`
- Interactively stage a file:
`git add {{-i|--interactive}}`
`git add {{[-i|--interactive]}}`