From 1d71ae134e1d1ee1e9f471a487f354098af4ed07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Almeida?= Date: Mon, 19 Oct 2020 15:15:40 -0300 Subject: [PATCH] git-commit: clarify amend example (#4703) --- pages/common/git-commit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`