From 4ae002b097fcbfa60a8176470f8914feccea96cc Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 31 May 2021 13:12:33 +0200 Subject: [PATCH] Add git hash command to show short commit hash --- gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitconfig b/gitconfig index f7a9b21..727d1b4 100644 --- a/gitconfig +++ b/gitconfig @@ -26,6 +26,8 @@ ts = timeshift task = "! TASKDATA=$(git rev-parse --show-toplevel)/.git/task task" track = add --intent-to-add + h = log -1 --format=%h + hash = log -1 --format=%H [user] useConfigOnly = true [user "darkwiiplayer"]