update repos:递归更新GitHub存储库 源码

上传:qqcluster29770 浏览: 22 推荐: 0 文件:ZIP 大小:2KB 上传时间:2021-04-17 19:38:02 版权申诉
更新仓库 一个bash脚本,用于递归查找和更新给定目录中的所有Git存储库 特征 递归搜索给定路径以找到.git目录 转到这些目录 为每个存储库运行git up 要求 Git Up别名: git config --global alias.up '!git remote update -p; git merge --ff-only @{u}' 使用范例 调用update-repos.sh并为其提供递归搜索的路径 ./update-repos.sh ~/bin ./update-repos.sh /opt
上传资源
用户评论