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