总是`git fetch --all`?

罗伊·特雷洛夫(Roy Truelove)

当我只想为某个远程设备获取数据时,几乎从来没有这种情况。我总是想要所有遥控器。我认为这将是一个通用的用例,git会对此进行解释(它们具有相同的方式pull.rebase true)。

因此,有一种神奇的方法可以始终从我无法找到的所有遥控器中获取数据吗?我当前的解决方案是使用别名,但是我觉得好像必须有一种更常规的方式。

幼虫

git remote update命令将执行您描述的操作:

$ git remote --help
[...]
   update
       Fetch updates for a named set of remotes in the repository as
       defined by remotes.<group>. If a named group is not specified on
       the command line, the configuration parameter remotes.default will
       be used; if remotes.default is not defined, all remotes which do
       not have the configuration parameter

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

总是`git fetch --all`?

来自分类Dev

git fetch origin vs git fetch --all

来自分类Dev

'git fetch'和'git fetch --all'有什么区别

来自分类Dev

git fetch --all与git fetch -p | 有什么不同?

来自分类Dev

git pull总是失败,但是git fetch / merge很好

来自分类Dev

从不再存在的`git fetch --all`中删除存储库

来自分类Dev

Git Fetch 与 Git Fetch Origin

来自分类Dev

当运行git svn fetch --all时,--all选项有什么作用?

来自分类Dev

通过git fetch --all获取所有遥控器时如何控制获取顺序

来自分类Dev

替代mysqli_fetch_all

来自分类Dev

如何撤消'git fetch'

来自分类Dev

“ git fetch”时的警告

来自分类Dev

使fetch_assoc与fetch_all完全匹配

来自分类Dev

MySQLi fetch_all的奇怪错误

来自分类Dev

git fetch origin 和 git fetch ssh://originurl 的区别

来自分类Dev

git fetch 和 git fetch origin 有什么区别

来自分类Dev

git fetch:无法分配内存

来自分类Dev

如何`git fetch`默认分支

来自分类Dev

git:查看“ git fetch”后的更改

来自分类Dev

HTTP fetch 请求总是在 react-native 上失败

来自分类Dev

Mysqli fetch_assoc()循环与Mysqli fetch_all()数据库负载?

来自分类Dev

git fetch的语法是什么意思

来自分类Dev

git fetch prune无法正常工作

来自分类Dev

詹金斯垂死在git fetch

来自分类Dev

git fetch由于包对象失败而失败

来自分类Dev

'git fetch -p'是什么意思

来自分类Dev

使用git fetch有什么优势?

来自分类Dev

在“ git fetch”期间中止安全吗?

来自分类Dev

GIT从远程跟踪中删除FETCH引用