debian-mirror-gitlab/doc/user/project/import/tfvc.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
2.5 KiB
Markdown
Raw Normal View History

2019-10-12 21:52:04 +05:30
---
2021-09-04 01:27:46 +05:30
stage: Manage
group: Import
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2019-10-12 21:52:04 +05:30
type: concepts
---
2021-09-04 01:27:46 +05:30
# Migrate from TFVC to Git **(FREE)**
2019-10-12 21:52:04 +05:30
Team Foundation Server (TFS), renamed [Azure DevOps Server](https://azure.microsoft.com/en-us/services/devops/server/)
in 2019, is a set of tools developed by Microsoft which also includes
2020-06-23 00:09:42 +05:30
[Team Foundation Version Control](https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/what-is-tfvc?view=azure-devops)
2019-10-12 21:52:04 +05:30
(TFVC), a centralized version control system similar to Git.
In this document, we focus on the TFVC to Git migration.
## TFVC vs Git
The main differences between TFVC and Git are:
- **Git is distributed:** While TFVC is centralized using a client-server architecture,
Git is distributed. This translates to Git having a more flexible workflow since
you work with a copy of the entire repository. This allows you to quickly
switch branches or merge, for example, without needing to communicate with a remote server.
- **Storage:** Changes in a centralized version control system are per file (changeset),
while in Git a committed file is stored in its entirety (snapshot). That means that it is
very easy to revert or undo a whole change in Git.
For more information, see:
- Microsoft's [comparison of Git and TFVC](https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/comparison-git-tfvc?view=azure-devops).
- The Wikipedia [comparison of version control software](https://en.wikipedia.org/wiki/Comparison_of_version_control_software).
## Why migrate
Advantages of migrating to Git/GitLab:
- **No licensing costs:** Git is open source, while TFVC is proprietary.
- **Shorter learning curve:** Git has a big community and a vast number of
tutorials to get you started (see our [Git topic](../../../topics/git/index.md)).
2021-02-22 17:27:13 +05:30
- **Integration with modern tools:** After migrating to Git and GitLab, you have
2019-10-12 21:52:04 +05:30
an open source, end-to-end software development platform with built-in version
control, issue tracking, code review, CI/CD, and more.
## How to migrate
2020-10-24 23:57:45 +05:30
Migration options from TFVC to Git depend on your operating system.
2021-06-08 01:23:25 +05:30
- If you're migrating on Microsoft Windows, use the [`git-tfs`](https://github.com/git-tfs/git-tfs)
tool. See [Migrate TFS to Git](https://github.com/git-tfs/git-tfs/blob/master/doc/usecases/migrate_tfs_to_git.md)
for details.
- If you're on a Unix-based system, follow the procedures described with this
[TFVC to Git migration tool](https://github.com/turbo/gtfotfs).