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.
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.
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 .
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With