git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
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]