版本控制VS使用Git。

编程入门 行业动态 更新时间:2024-10-12 08:16:40
本文介绍了版本控制VS使用Git。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,我在2015年的Windows 2015上运行了visual studio。我正在尝试让TFS和Git作为本地计算机(不是服务器)的版本控制。我只是想要它在本地运行就是这样。 我的问题是如何查看以前签入的文件/解决方案? 我是新来的,请保持温柔。 希望它的GUI,否则如果它的命令请保持简单。

Hello, I have visual studio 2015 running on windows 2015. I'm trying to get TFS and Git to work as version control with my local computer (not a server.) I just want it to run locally that's it. My question is how do I check out previously checked in files/solutions? I'm new at this please be gentle. Hopefully its GUI, otherwise if it's commands please keep it simple.

谢谢,

Joshe

推荐答案

嗨Joshe,

Hi Joshe,

感谢您在此发帖。

TFS支持两种类型的版本控制系统:Team Foundation版本控制(TFVC)和Git。

TFS supports two types of version control systems: Team Foundation Version Control(TFVC) and Git.

您可以选择合适的产品以更好地满足您的要求。以下链接供您参考。

You could choose the right one to meet your requirement better. The follow link is for your reference.

www.visualstudio/en-us/docs/tfvc/comparison-git-tfvc

  • 使用Git获取源代码的副本,您将把TFS服务器Git存储库克隆到本地Git存储库。然后,您可以提交并将更改推送到服务器。并从其他人那里获取或提取更改。欲了解更多信息,请查看以下链接::
  • ; Git入门: https:// www。 visualstudio/en-us/docs/git/gitquickstart

    使用fetch和pull更新代码: www.visualstudio/en-us/docs/git/tutorial/pulling

    Update code with fetch and pull : www.visualstudio/en-us/docs/git/tutorial/pulling

  • 使用TFVC,您将配置您的工作区,指定工作区路径以映射工作区,并获取源。然后,您可以签入对服务器的更改。并在服务器上获取特定版本。欲了解更多信息,请查看以下链接::
  • ;在TFVC中开发和共享您的代码: www.visualstudio/en- us / docs / tfvc / share-your-code-in-tfvc-vs

    从服务器获取文件: www.visualstudio/en-us/docs/tfvc/download-get-files-from-server

    Get files from the Server : www.visualstudio/en-us/docs/tfvc/download-get-files-from-server

    最好的问候

    更多推荐

    版本控制VS使用Git。

    本文发布于:2023-10-31 10:47:39,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1545855.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:版本   Git

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!