workspace_path=$(pwd) echo "workspace_path:$workspace_path"
cd $workspace_path git add --all
echo "CUSTOM_GIT_AUTHOR=$CUSTOM_GIT_AUTHOR" if [[ -n "$CUSTOM_GIT_AUTHOR" ]] then git commit --author="$CUSTOM_GIT_AUTHOR" -m "$1" else git commit --author="$DEFAULT_GIT_AUTHOR" -m "$1" fi
git push $(git remote) HEAD