From 545a53e808c566fe7464ef2901c5ea8f0f862f44 Mon Sep 17 00:00:00 2001 From: Filipp Pirozhkov Date: Fri, 10 Nov 2017 19:18:27 +0300 Subject: [PATCH] Change the command to minimize side effects --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 21d0ee2..b43b7f9 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ In order to remove a file from a commit, do the following: ```sh $ git checkout HEAD^ myfile -$ git add -A +$ git add myfile $ git commit --amend ```