#!/bin/sh#get the commit content by user input if not initialed before.echo "0円33[33m Please input the commit words : 0円33[0m"read commitecho "0円33[34m Content:'$commit' 0円33[0m"#push code change on this respo.echo "0円33[33m now pushing code to remote 0円33[0m"git add .git commit -m "${commit}"git pull --rebasegit pushecho "0円33[32m Finished 0円33[0m"cd ~/Projects/Jimi/update-clientnode client.jscd ~/Projects/L/Javascript/javascript_course_intermediateecho "0円33[32m updated 0円33[0m"#echo "033円[33m update the course now?(y/n): 033円[0m"#read choose#if "${choose}" == "y"#then# node ~/Projects/Jimi/update-client/client.js# echo "033円[32m Updated 033円[0m"#else# echo "033円[32m Cancled 033円[0m"#fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。