X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_gitconfig;h=4ec2ab0af7206b7f03054c97e90e8e9f4e88109c;hb=176019f33f06ef45e85357dcd72a1b81a9c5a82d;hp=150ad9f9b594537bc66f3ea2c982e29d5ccadf22;hpb=60371be796f05b156ad2bed9ba5392475c40b5f7;p=sugar.git diff --git a/dot-files/_gitconfig b/dot-files/_gitconfig index 150ad9f..4ec2ab0 100644 --- a/dot-files/_gitconfig +++ b/dot-files/_gitconfig @@ -19,5 +19,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