git-commit: clarify amend example (#4703)
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
`git commit -a -m {{message}}`
|
`git commit -a -m {{message}}`
|
||||||
|
|
||||||
- Replace the last commit with currently staged changes:
|
- Update the last commit by adding the currently staged changes, changing the commit's hash:
|
||||||
|
|
||||||
`git commit --amend`
|
`git commit --amend`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user