From 6fcecce17d44c2453943544f8c816633481b7a2a Mon Sep 17 00:00:00 2001 From: Sanskar Gupta <93852920+sanskaarz@users.noreply.github.com> Date: Fri, 5 Jul 2024 07:43:19 +0530 Subject: [PATCH] Added git show command --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 757ef31..925d6ed 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [View the GPG signatures in the commit log](#view-the-gpg-signatures-in-the-commit-log) * [Remove entry in the global config.](#remove-entry-in-the-global-config) * [Checkout a new branch without any history](#checkout-a-new-branch-without-any-history) +* [View expanded details of changes in last commit.](#view-expanded-details-of-changes-in-last-commit) * [Extract file from another branch.](#extract-file-from-another-branch) * [List only the root and merge commits.](#list-only-the-root-and-merge-commits) * [Change previous two commits with an interactive rebase.](#change-previous-two-commits-with-an-interactive-rebase) @@ -942,6 +943,11 @@ git config --global --unset git checkout --orphan ``` +## View expanded details of changes in last commit. +```sh +git show +``` + ## Extract file from another branch. ```sh git show :