From 6a7e109cebebea138d0bc6add8bf2ce54ea95959 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 2 Jul 2026 23:32:01 +0200 Subject: git: add the 'ref-commit' alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This goes in tandem with the --pretty=fixes option, and it's useful to reference commits on a commit message. Signed-off-by: Miquel Sabaté Solà --- .gitconfig | 1 + 1 file changed, 1 insertion(+) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index a8b8fac..7edfbe4 100644 --- a/.gitconfig +++ b/.gitconfig @@ -21,6 +21,7 @@ a = commit -a -s down = pull --rebase --stat fpush = push --force-with-lease + ref-commit = show -s --abbrev --format='%h (\"%s\")' [format] signoff = true -- cgit v1.2.3