diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index 73e18c710a..a2736f7c0e 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -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`