From 02b0aa0e5dc428c26528db8ba703e7dbbb2035d1 Mon Sep 17 00:00:00 2001 From: Mahboubeh Seyedpour Date: Tue, 15 Feb 2022 23:07:11 +0330 Subject: [PATCH 1/2] Add alternative for unstaging staged file --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 23f936d..49581dc 100644 --- a/README.md +++ b/README.md @@ -1053,6 +1053,10 @@ git log --reverse master.. | head -6 ```sh git reset HEAD ``` +__Alternatives:__ +```sh +git reset --staged +``` ## Force push to Remote Repository ```sh From aa6d0003d61e49f40ece08bfac55aac008a3106d Mon Sep 17 00:00:00 2001 From: Mahboubeh Seyedpour Date: Fri, 15 Apr 2022 01:26:08 +0430 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 49581dc..e8de93c 100644 --- a/README.md +++ b/README.md @@ -1055,7 +1055,7 @@ git reset HEAD ``` __Alternatives:__ ```sh -git reset --staged +git restore --staged ``` ## Force push to Remote Repository