mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge pull request #726 from sethwoodworth/feature-gap
Adds git-add -p instructions
This commit is contained in:
commit
6b351873f1
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
- Add a file to the index:
|
- Add a file to the index:
|
||||||
|
|
||||||
`git add {{PATHSPEC}}`
|
`git add {{path/to/file}}`
|
||||||
|
|
||||||
- Add all files (tracked and untracked):
|
- Add all files (tracked and untracked):
|
||||||
|
|
||||||
|
@ -17,3 +17,7 @@
|
||||||
- Also add ignored files:
|
- Also add ignored files:
|
||||||
|
|
||||||
`git add -f`
|
`git add -f`
|
||||||
|
|
||||||
|
- Add parts of a file interactively:
|
||||||
|
|
||||||
|
`git add -p {{path/to/file}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue