From: Silvio Rhatto Date: Thu, 3 Nov 2016 13:46:59 +0000 (-0200) Subject: Adds gsync X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=60ba48cf69cb16f0bf99ae7adfc0a75a5271d286;p=utils-git.git Adds gsync --- diff --git a/gsync b/gsync new file mode 100755 index 0000000..14f18a0 --- /dev/null +++ b/gsync @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Commit, push and fetch +# + +# Parameters +PROJECT="$1" + +# Try to get there +if [ ! -z "$PROJECT" ]; then + cd $PROJECT +fi + +# Sync +up +mr fetch