git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2024-05-25 13:02:39 +0200
committermail_redacted_for_web 2024-05-25 13:02:39 +0200
commitfc67988fe5969c0f4312c5a7294de78c37d67fad (patch)
tree9da9aba5bb3a805e74b8293af645ab4898bc67c2
parentc6b2ad382fd4f557ca21fcfa5e5412ca1fa684aa (diff)
downloaddotfiles-1.1.0.tar.bz2
more git aliasesv1.1.0
-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]