mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user