]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_gitconfig
Auto commit by The Sugar System.
[sugar.git] / dot-files / _gitconfig
index 150ad9f9b594537bc66f3ea2c982e29d5ccadf22..33e376087718543cbe79f8225f77edddb3755882 100644 (file)
@@ -6,6 +6,7 @@
        ui = true
 [diff]
        renames = copies
+       compactionHeuristic = true
 [grep]
        lineNumber = true
 [http]
@@ -19,5 +20,9 @@
        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