From 0afa0fd3c21ec7a0403cbc35d3ce4052acc2fb81 Mon Sep 17 00:00:00 2001 From: L Day Date: Mon, 27 Aug 2018 09:29:23 +0000 Subject: [PATCH] git-commit: reorder commands (#2260) --- pages/common/git-commit.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index 34bf10b44..4bf129dd8 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -6,10 +6,10 @@ `git commit -m {{message}}` -- Replace the last commit with currently staged changes: - -`git commit --amend` - - Auto stage all modified files and commit with a message: `git commit -a -m {{message}}` + +- Replace the last commit with currently staged changes: + +`git commit --amend`