]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_gitconfig
Auto commit by The Sugar System.
[sugar.git] / dot-files / _gitconfig
index de6075dcd841796d14b8b3cedb28ae9ec196b1d2..4ec2ab0af7206b7f03054c97e90e8e9f4e88109c 100644 (file)
@@ -4,3 +4,24 @@
        signingkey = pho@cielonegro.org
 [color]
        ui = true
+[diff]
+       renames = copies
+[grep]
+       lineNumber = true
+[http]
+       sslVerify = false
+[log]
+       decorate = full
+[alias]
+       ci = commit
+       co = checkout
+       sh = show
+       st = status
+       gl = log --stat --graph
+       pullall = "!f(){ git pull \"$@\" && git submodule update --init --recursive; }; f"
+       review = "!f(){ git push origin HEAD:refs/for/${1-master}; }; f"
+       draft = "!f(){ git push origin HEAD:refs/drafts/${1-master}; }; f"
+[push]
+       default = simple
+[pull]
+       rebase = true