X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_gitconfig;h=33e376087718543cbe79f8225f77edddb3755882;hb=HEAD;hp=88d572da174df64b4f0d7054caa6ca04a4906a3a;hpb=83c2b0d114564a543f42caa0adb5b0e0ccdcb739;p=sugar.git diff --git a/dot-files/_gitconfig b/dot-files/_gitconfig index 88d572d..015551f 100644 --- a/dot-files/_gitconfig +++ b/dot-files/_gitconfig @@ -6,8 +6,11 @@ ui = true [diff] renames = copies + compactionHeuristic = true [grep] lineNumber = true +[http] + sslVerify = false [log] decorate = full [alias] @@ -16,3 +19,12 @@ 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 +[init] + defaultBranch = master