gpt4 book ai didi

git - git remote update 和 fetch 之间的区别?

转载 作者:IT王子 更新时间:2023-10-29 01:16:48 25 4
gpt4 key购买 nike

git remote update 是否等同于 git fetch

最佳答案

是也不是。 git remote update 从所有 Remote 获取,而不仅仅是一个。

无需查看代码以查看 remote update 是否只是一个 shell 脚本(可能),它基本上为每个远程运行 fetch。 git fetch 可以更加精细。

关于git - git remote update 和 fetch 之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1856499/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com