mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 14:46:00 +02:00
git commit: add example for committing specific files (#3090)
This commit is contained in:
parent
b5da33304f
commit
4057b76db6
1 changed files with 4 additions and 0 deletions
|
@ -14,3 +14,7 @@
|
|||
- Replace the last commit with currently staged changes:
|
||||
|
||||
`git commit --amend`
|
||||
|
||||
- Commit only specific (already staged) files:
|
||||
|
||||
`git commit {{path/to/my/file1}} {{path/to/my/file2}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue