您的位置:首页 > 运维架构 > Shell

简单的Git签到脚本

2015-07-29 00:00 477 查看
摘要: 简单的Git签到脚本

#!/bin/sh
a=`date +%Y%m%d%H%M%S`
echo $a
cd /home/code8086/repos/github/code8086_note
echo $a >> out.txt
git add .
git status
git commit -am $a
git push

cd /home/code8086/repos/gitosc/note
echo $a >> out.txt
git add .
git status
git commit -am $a
git push
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  shell bash sh git github