# !/bin/sh

default=''
brach=`git symbolic-ref --short -q HEAD`
echo $branch

git push origin $branch
git add -A

read -p '请输入‘ name

if [ $name == $default ]
then
  current_time=$(date "+%Y%m%d-%H%M%S")
  echo ${current_time}
  git commit -m ${current_time}
else
  git commit -m $name
fi

git push origin $branch