Skip to content

Instantly share code, notes, and snippets.

View xiaocairush's full-sized avatar

minjian.cai xiaocairush

View GitHub Profile
@xiaocairush
xiaocairush / all.sh
Created September 20, 2023 09:53
bash批量更新代码仓库
#!/bin/bash
function showMsg() {
echo -e "\033[32m$1\033[0m"
}
function pull() {
if [[ $2 != "--buildOnly" ]] ; then
showMsg 'git pull '$1
git pull
echo "hello world"