Skip to content

Instantly share code, notes, and snippets.

View berg223's full-sized avatar

minjian.cai berg223

View GitHub Profile
@berg223
berg223 / 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"