【发布时间】:2019-02-28 19:36:06
【问题描述】:
是否可以在 git 中配置只有在正式请求其名称时才获取的远程?所以他们将被排除在fetch --all之类的操作之外。
想象一个名为“my-no-auto-fetch-remote”的休眠(禁用或其他)遥控器:
$ git fetch my-no-auto-fetch-remote
(已获取)
$ git fetch --all
(不应获取 my-no-auto-fetch-remote)
【问题讨论】:
标签: git git-remote