08.Github仓库管理技巧

清夏晚风

高效仓库管理

多仓库操作

1
2
3
4
5
6
# 批量克隆组织仓库
gh repo list orgname --limit 100 | awk '{print $1}' | xargs -L1 gh repo clone

# 镜像同步配置
git remote set-url --add --mirror=push github git@github.com:user/repo.git
git remote set-url --add --mirror=push gitee git@gitee.com:user/repo.git

Git配置优化

1
2
3
4
5
6
7
[core]
# 加速大文件操作
fsmonitor = true
untrackedCache = true
[feature]
# 实验性功能
manyFiles = true
  • Title: 08.Github仓库管理技巧
  • Author: 清夏晚风
  • Created at : 2026-01-13 16:48:23
  • Updated at : 2026-01-13 16:48:23
  • Link: https://blog.kimikkorow.eu.org/版本控制管理/Github/08.Github仓库管理技巧/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
08.Github仓库管理技巧