#!/bin/sh BRANCH=$(git branch |grep \* | cut -d " " -f2) git add . git commit -m "sync" git push origin $BRANCH