git-commit: clarify amend example (#4703)

This commit is contained in:
André Almeida 2020-10-19 15:15:40 -03:00 committed by GitHub
parent c448cf093d
commit 1d71ae134e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
`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`