Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use GIT and TFS source control together

We are currently using VS 2015 with TFS bases source control but are considering moving to Microsoft GIT. Is it possible to use the two together so that we can evaluate and compare. Looking at Source Control plug in section in VS options it implies that you can only use one or the other.

like image 754
Peter Smith Avatar asked Nov 17 '15 11:11

Peter Smith


People also ask

Can I use Git and TFS together?

Introducing git-tfsgit-tfs provides a two-way bridge between a local Git repository and a TFS server. git-tfs allows you to do your local development in a Git repository, and still synchronize your work with a TFS server.

Can we use Git to clone from TFS?

Cloning the whole TFS Project CollectionYou can clone all projects by specifying $/ as the tfs-repository path. If you do not specify a git repository name, it will clone into tfs-collection .

Is Git and TFS the same?

Git is distributed as everyone has a full copy of the whole repo and its history. TFS has its own language: Check-in/Check-out is a different concept. Git users do commits based on distributed full versions with difference checking. TFS provides a “shelf” to hold local changes temporarily.

Can you use Git with Visual Studio?

Visual Studio 2019 | Visual Studio 2022You can use Visual Studio or Git commands to clone a repository, define local branches, commit and push changes, and sync with others. If you need to create or import a repository, see Create a new Git repo in your project or Import a Git repository.


1 Answers

Good timing, it's in the post with TFS2015 Update 1 which is currently in Release Candidate.

https://www.visualstudio.com/en-us/news/tfs2015-update1-vs.aspx

Git and TFVC in the same project

Team Foundation Server now supports adding Git repositories to Team Foundation Version Control (TFVC) Team Projects or adding TFVC repositories to Git team projects. This makes it easier to adopt a new version control system while keeping all your current team project data. Team members will need to run Visual Studio 2015 Update 1 to easily switch between TFVC and Git in the same team project.

like image 87
rerwinX Avatar answered Sep 28 '22 12:09

rerwinX