git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index cdf3747..5a312f4 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -37,6 +37,7 @@
ap = add -p
up = pull --rebase=preserve
fa = fetch --all --verbose
+ fap = fetch --all --prune --verbose
gr = grep --break --heading --line-number
d = diff
ds = diff --stat
@@ -58,6 +59,13 @@
smam = submodule add -b master
smir = submodule update --init --recursive
smu = submodule foreach git pull
+ bl = branch --list
+ br = branch -r
+ rhh = reset --hard HEAD
+ sl = shortlog -s
+ sls = "!git shortlog -s | cut -f1 | spark"
+ gl-mr = "!sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -"
+ cps = cherry-pick -S
[push]
default = simple
[pretty]