git commit: add example for committing specific files (#3090)
This commit is contained in:

committed by
Waldir Pimenta

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}}`
|
||||
|
Reference in New Issue
Block a user