Skip to content

Instantly share code, notes, and snippets.

@YahuiWong
Created April 29, 2019 07:57
Show Gist options
  • Save YahuiWong/54ea27fb349c3d35b220f70abc7e21a7 to your computer and use it in GitHub Desktop.
Save YahuiWong/54ea27fb349c3d35b220f70abc7e21a7 to your computer and use it in GitHub Desktop.
效率脚本
for file in `ls ./`
do
if [ -d $file ]
then
pushd $file
git add --all
git commit -m "修改配置"
git push --all origin
popd
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment