#!/bin/sh # $1 $2 $3 $4 $n は、ただの引数 comment=${1:-"Default Message"} git add -A git commit -m "${comment}" git pull git push