issue #2

1, prepare-commit-msgの用意
2, issue番号付きbranchの作成
prepare-commit-msgの用意

作業フォルダに.git/hooks/prepare-commit-msgを用意

prepare-commit-msgの中身は以下
prepare-commit-msg

if [ "$2" == "" ] ; then
mv $1 $1.tmp
echo "issue #`git branch | grep "*" | awk '{print $2}' | sed -e "s/^\([0-9]*\).*/\1/g"`" > $1
cat $1.tmp >> $1
fi

$ chmod +x prepare-commit-msg
issue番号付きbranchの作成

$ git checkout -b 1234_branch