git获取每次更新日志的脚本
export LAST_SUCCESS_BUILD_TS=`sed -n '1p' /Users/shanezhang/IPA/lastSuccessTS.log`
echo $LAST_SUCCESS_BUILD_TS
git log --pretty=format:'<li>%h was %an, %ar, message: <font color=#ff0099>%B</font></li>' --since="$LAST_SUCCESS_BUILD_TS" > GIT-Log-Report.txt
mv GIT-Log-Report.txt /Users/shanezhang/IPA
/usr/bin/git log --pretty="%s" --since="$LAST_SUCCESS_BUILD_TS"
echo `date +%s` > /Users/shanezhang/IPA/lastSuccessTS.log