]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_gitconfig
Auto commit by The Sugar System.
[sugar.git] / dot-files / _gitconfig
index bac2cb22347c6929a0a2d269338040567b43c45b..48089e73b0a3baf35576bbed8f85b4a7f45f2b67 100644 (file)
@@ -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