From: Joey Hess Date: Sat, 20 Oct 2007 00:53:53 +0000 (-0400) Subject: git push example X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/1418c08977517227426bbee6ab584e71674fabeb?ds=sidebyside git push example --- diff --git a/mrconfig b/mrconfig index ca34568..8e18756 100644 --- a/mrconfig +++ b/mrconfig @@ -3,8 +3,9 @@ [DEFAULT] # Teach mr how to run svn cleanup. cleanup = if [ -d "$MR_REPO"/.svn ]; then svn cleanup ; fi -# And how to run git gc +# And how to run git gc and push. gc = if [ -d "$MR_REPO"/.git ]; then git gc; fi +push = if [ -d "$MR_REPO"/.git ]; then git push; fi # Tests used in the skips below. # - wantsrc checks whether I probably want a full source checkout (quite # large)