git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
authormail_redacted_for_web 2026-01-26 12:43:25 +0100
committermail_redacted_for_web 2026-01-26 12:43:25 +0100
commiteac0d3d2c4b98800550c295b2889a596193d8c41 (patch)
tree1d2eb1eff7749b77c994a53d49ff008c0b798432 /.gitconfig
parent373c3896729312b6f0d74d9bb37c41d966427f25 (diff)
downloaddotfiles-1.6.0.tar.bz2
Anchoring current-branch alias in gitconfigHEADv1.6.0master
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig2
1 files changed, 2 insertions, 0 deletions
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]