summaryrefslogtreecommitdiff
path: root/global_gitconfig
diff options
context:
space:
mode:
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