小编muz*_*i Z的帖子

git 配置 `branch.<name>.fetch` 曾经存在吗?

第一个示例1branch.<name>.fetch中提到了Git配置:git-fetch

  • 更新远程跟踪分支:

    $ git fetch origin
    
    Run Code Online (Sandbox Code Playgroud)

    上面的命令从远程 refs/heads/ 命名空间复制所有分支并将它们存储到本地 refs/remotes/origin/ 命名空间,除非使用branch..fetch 选项指定非默认的 refspec。

git-config但我在s doc中找不到它的文档。曾经branch.<name>.fetch存在过吗?

git-config在的文档中搜索以 开头branch.或结尾的配置.fetch,似乎branch.<name>.fetch是 的拼写错误remote.<name>.fetch

1此示例是在 2009 年的提交 d504f69中添加的。

git git-config git-fetch

5
推荐指数
1
解决办法
90
查看次数

标签 统计

git ×1

git-config ×1

git-fetch ×1