From e2bfd79e41510183cee2bb91e5670b0bf70c5c76 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Tue, 13 Jan 2026 14:14:41 +0100 Subject: [PATCH] new git alias to show current commit hash in full. --- modules/home-manager/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home-manager/git.nix b/modules/home-manager/git.nix index c7e92cb..f396947 100644 --- a/modules/home-manager/git.nix +++ b/modules/home-manager/git.nix @@ -46,6 +46,7 @@ log-long-line = "log --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'"; recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'"; track = "add -AN"; + hash = "git show -s --format=%H"; }; user = { email = config.user.git.profile.email;