From 7f732c5b19a562c4bb16e95c0a4dbd5f6ba04957 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 6 Feb 2024 08:18:11 +0100 Subject: [PATCH] update git --- technology/dev/Git.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/technology/dev/Git.md b/technology/dev/Git.md index 2868290..ac08b7e 100644 --- a/technology/dev/Git.md +++ b/technology/dev/Git.md @@ -82,6 +82,19 @@ git commit -m "message" git commit -s -m "message" ``` +See commit changes: +```shell +git show commit +# See only changed filenames or status +git show --name-only commit +git show --name-status commit +# Show commit statistics +git show --stat commit +# Show patch of commit +git show -p commit +git show --patch commit +``` + Revert changes: ```shell git revert