3 if [ -n "`git status -uno -s --porcelain`" ]; then
4 echo "You have unstashed changes. Can not update repository..."
10 OLD_BRANCH
=$
(git rev-parse
--abbrev-ref HEAD
)
11 git checkout master
2> /dev
/null
13 git checkout
$OLD_BRANCH 2> /dev
/null