From fed1ce4550b7a0cc87c3833a9f1dcf563e0200e2 Mon Sep 17 00:00:00 2001 From: Hugo <1h.lust.hugo@gmail.com> Date: Fri, 2 Apr 2021 15:51:13 +0200 Subject: [PATCH] Fixed a mistake in the commands --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 9bac85c..bc1caf8 100644 --- a/readme.md +++ b/readme.md @@ -220,11 +220,11 @@ in case you want to apply a specific Stash item (not the most recent one), you c >git commit --amend -m "New commit message" -replace the message of the last commit without altering the snapshot +replace the last commit >git commit --amend --no-edit -replace the latest commit with a commit that includes recents git add +replace the last commit without changing the commit message >git rebase -i {branch}