X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_gitconfig;h=48089e73b0a3baf35576bbed8f85b4a7f45f2b67;hb=204b97d20f63601c6c6540ccc4f20e4725023c05;hp=bac2cb22347c6929a0a2d269338040567b43c45b;hpb=9eb2399524e12921ef46df5b15d39651b4eb7335;p=sugar.git diff --git a/dot-files/_gitconfig b/dot-files/_gitconfig index bac2cb2..48089e7 100644 --- a/dot-files/_gitconfig +++ b/dot-files/_gitconfig @@ -18,5 +18,8 @@ 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