shell 一键更新多个Git项目

#!/bin/bash function readdir() { for file in `ls $1` do if [ -d $1"/"$file ]; then cd $1"/"$file if [ -d ".git" ]; then echo $1"/"$file git pull fi cd .. readdir $
相关文章
相关标签/搜索