X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_gitconfig;h=33e376087718543cbe79f8225f77edddb3755882;hb=HEAD;hp=de6075dcd841796d14b8b3cedb28ae9ec196b1d2;hpb=cf2fc9681fcea6a2bd433cd155dee59325368942;p=sugar.git diff --git a/dot-files/_gitconfig b/dot-files/_gitconfig index de6075d..015551f 100644 --- a/dot-files/_gitconfig +++ b/dot-files/_gitconfig @@ -4,3 +4,27 @@ signingkey = pho@cielonegro.org [color] ui = true +[diff] + renames = copies + compactionHeuristic = true +[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 +[init] + defaultBranch = master