From 8754c884a613c9e363241d7419af163253c2f0d9 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Tue, 17 Oct 2023 04:31:40 -0700 Subject: [PATCH] chore: Generate `README.md` --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 757ef31..f4d283c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [Create local tag](#create-local-tag) * [Delete local tag](#delete-local-tag) * [Delete remote tag](#delete-remote-tag) -* [Undo local changes with the last content in head](#undo-local-changes-with-the-last-content-in-head) +* [Undo local changes with the content in index(staging)](#undo-local-changes-with-the-content-in-indexstaging) * [Revert: Undo a commit by creating a new commit](#revert-undo-a-commit-by-creating-a-new-commit) * [Reset: Discard commits, advised for private branch](#reset-discard-commits-advised-for-private-branch) * [Reword the previous commit message](#reword-the-previous-commit-message) @@ -999,6 +999,7 @@ __Alternatives:__ git branch && git checkout ``` + ```sh git switch -c ```