summaryrefslogtreecommitdiff
path: root/global_gitconfig
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2023-07-14 11:21:58 +0200
committerkkard2 <[email protected]>2023-07-14 11:21:58 +0200
commit73ef61232509647c3944163405f46837bd716c83 (patch)
treef44eee8ba2442096f7cf9da7353cf9d7a9054dd6 /global_gitconfig
parent0fd4fc47fadf5337ba9517d7ada3fc9913932307 (diff)
git aliasage
Diffstat (limited to 'global_gitconfig')
-rw-r--r--global_gitconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/global_gitconfig b/global_gitconfig
new file mode 100644
index 0000000..6741a56
--- /dev/null
+++ b/global_gitconfig
@@ -0,0 +1,14 @@
+[fetch]
+ prune = true
+[alias]
+ lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' -15
+ bl = branch -v -a
+ st = status -sb
+ bd = branch -d
+ cb = checkout -b
+ check = checkout
+ sw = switch
+ cm = commit -m
+ al = config --get-regexp alias
+ pushup = push --set-upstream origin
+ rem = restore --staged