git commit: add example for committing specific files (#3090)
This commit is contained in:
parent
b5da33304f
commit
4057b76db6
|
|
@ -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…
Reference in New Issue