Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-25 00:25:05 +00:00
parent 7b572f2b7c
commit 2aa4763c61
10 changed files with 238 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Adds changed files to the index.
> More information: <https://git-scm.com/docs/git-add>.
- Add a file to the index:
- Stage a file for a commit:
`git add {{path/to/file}}`
@@ -24,9 +24,9 @@ source: https://github.com/tldr-pages/tldr.git
`git add {{[-u|--update]}}`
- Also add ignored files:
- Add an ignored file:
`git add {{[-f|--force]}}`
`git add {{[-f|--force]}} {{path/to/file}}`
- Interactively stage parts of files: