gpt4 book ai didi

tfs - 同步在团队资源管理器中有什么作用?

转载 作者:行者123 更新时间:2023-12-03 20:22:27 26 4
gpt4 key购买 nike

我目前在一个使用 的项目中TFS Git 作为代码库。在 Visual Studio 中,在 Team Explorer -> Sync 下,有一个名为 的选项。同步 .现在我熟悉了 Fetch、Pull 和 Push 操作,但 Sync 对我来说是新的。

任何想法这在幕后做什么?

最佳答案

Visual Studio、VSTS 和 TFS 中的 Git 是 标准 Git .虽然 同步不是 Git 命令 , 一些 GUI 环境提供同步按钮 更新您的本地文件 将本地更改推送到远程 (您的托管存储库)。

enter image description here

The Sync button is available on the Team Explorer pane and and also displayed after you create a commit using the extension. The sync tool enables you to select how you want to update the project:

  • sync: performs a git pull and a git push.
  • fetch: performs a git fetch which retrieves any commits on from your remote without merging them.
  • pull: performs a git pull.
  • push: performs a git push.


您还可以导航到 同步 通过选择 从更改 View 查看同步 提交后立即。

enter image description here

关于tfs - 同步在团队资源管理器中有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47257586/

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