From eac0d3d2c4b98800550c295b2889a596193d8c41 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Mon, 26 Jan 2026 12:43:25 +0100 Subject: Anchoring current-branch alias in gitconfig --- .gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitconfig b/.gitconfig index 9a9bb51..d43086f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -70,6 +70,8 @@ cps = cherry-pick -S force = push --force-with-lease pf = push --force-with-lease + current-branch = rev-parse --abbrev-ref HEAD + cb = current-branch [push] default = simple [pretty] -- cgit v1.2.3