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]
iteral.Number.Oct */ .highlight .sa { color: #aa5500 } /* Literal.String.Affix */ .highlight .sb { color: #aa5500 } /* Literal.String.Backtick */ .highlight .sc { color: #aa5500 } /* Literal.String.Char */ .highlight .dl { color: #aa5500 } /* Literal.String.Delimiter */ .highlight .sd { color: #aa5500 } /* Literal.String.Doc */ .highlight .s2 { color: #aa5500 } /* Literal.String.Double */ .highlight .se { color: #aa5500 } /* Literal.String.Escape */ .highlight .sh { color: #aa5500 } /* Literal.String.Heredoc */ .highlight .si { color: #aa5500 } /* Literal.String.Interpol */ .highlight .sx { color: #aa5500 } /* Literal.String.Other */ .highlight .sr { color: #009999 } /* Literal.String.Regex */ .highlight .s1 { color: #aa5500 } /* Literal.String.Single */ .highlight .ss { color: #0000aa } /* Literal.String.Symbol */ .highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */ .highlight .fm { color: #00aa00 } /* Name.Function.Magic */ .highlight .vc { color: #aa0000 } /* Name.Variable.Class */ .highlight .vg { color: #aa0000 } /* Name.Variable.Global */ .highlight .vi { color: #aa0000 } /* Name.Variable.Instance */ .highlight .vm { color: #aa0000 } /* Name.Variable.Magic */ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
[submodule "tmux-gpakosz"]
	path = tmux-gpakosz
	url = https://github.com/gpakosz/.tmux
	branch = master
[submodule "tmux-yank"]
	path = tmux-yank
	url = https://github.com/tmux-plugins/tmux-yank
	branch = master
[submodule "git-prompt"]
	path = git-prompt
	url = https://github.com/git/git.git