From ea19f917558161819504982126fdc87958c13cc1 Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 17 Jul 2026 01:41:37 +0200 Subject: [PATCH] Linux/git: Added guide to show commit info --- wiki/linux/git_(package).md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/wiki/linux/git_(package).md b/wiki/linux/git_(package).md index 5c33aa1..06655ee 100644 --- a/wiki/linux/git_(package).md +++ b/wiki/linux/git_(package).md @@ -25,8 +25,22 @@ This section addresses various use cases of git. There is also an interactive [fix-up guide by Seth Robertson](https://sethrobertson.github.io/GitFixUm/fixup.html). -Robertson also made guides on [post-production](https://github.com/SethRobertson/GitPostProduction) -and [best practices](http://sethrobertson.github.io/GitBestPractices). +It can help to find the command needed to correct a specific situation of a git repository. +Robertson also made guides on +[post-production](https://sethrobertson.github.io/GitPostProduction/gpp.html) and a guide on +[best practices](http://sethrobertson.github.io/GitBestPractices). + +### Show Commit Information + +To explicitly display all informations corresponding to a given commit hash `` run the +following command. + +```sh +git show --format=full +``` + +Apart from the diff it will also display the author including their mail, the complete commit hash +and the whole commit message. ### Modify a Commit Already Done