gitPush.sh 129 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 #!/bin/bash if [[ $1 ]];then cd $1 git add . git commit -m "auto commit by shell by gr" git push else echo "未输入路径" fi