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 $
相關文章
相關標籤/搜索