版本控制VS使用Git。 [英] Version control VS using Git.

查看:72
本文介绍了版本控制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.

https://www.visualstudio.com/en-us/docs/tfvc/comparison-git-tfvc


  1. 使用Git获取源代码的副本,您将把TFS服务器Git存储库克隆到本地Git存储库。然后,您可以提交并将更改推送到服务器。并从其他人那里获取或提取更改。欲了解更多信息,请查看以下链接:


     ;     Git入门:
https:// www。 visualstudio.com/en-us/docs/git/gitquickstart

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

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


  1. 使用TFVC,您将配置您的工作区,指定工作区路径以映射工作区,并获取源。然后,您可以签入对服务器的更改。并在服务器上获取特定版本。欲了解更多信息,请查看以下链接:


     ;  在TFVC中开发和共享您的代码:

https://www.visualstudio.com/en-  us / docs / tfvc / share-your-code-in-tfvc-vs

       从服务器获取文件:

https://www.visualstudio.com/en-us/docs/tfvc/download-get-files-from-server

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

最好的问候


这篇关于版本控制VS使用Git。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆