Questions tagged [git-tfs]

Git-Tfs is a Windows open sourced two-way bridge between TFS(TFVC) and git, similar to git-svn.

Git-tfs is a command-line based source control bridge that allows you to work with Git locally, reducing the number of operations to communicate with the TFS source control server to exactly three operations: Clone, Checkin and Fetch (or Pull).

Major features

  • Clone a TFVC repository in a git repository
  • Syncing new changesets/commits (fetch, pull and rcheckin)
  • TFS branch support with merge support
  • Shelveset support
  • Workitems support
  • Migrate from TFVC to Git

Online resources

204 questions
2
votes
2 answers

Move code from TFVC on TFS 2010 to TFVC on Azure DevOps Server

I have some projects on TFVC source control on TFS 2010. I want just to migrate the source code from TFS 2010 to TFVC on Azure DevOps Server. I don't want to process an upgrade of the entire collection to a newest version. I Just want to transfer my…
rony
  • 121
  • 1
  • 7
2
votes
1 answer

Migration of TFS to GIT using git-tfs tool not migrating all the branches and some changes of branches

I'm trying to migrate TFS to GIT with all branches with history using git-tfs tool. But I'm getting only few of the branches successfully and others with missing history (most recent once). And few of the branches not even migrated. I've used below…
2
votes
2 answers

git-tfs: How is the repository storing files?

We have a large TFS repository which we would like to migrate to git. We are considering using git-tfs for a while, in order for everything to continue working while we migrate. We have large (or small, but rapidly changing) binary files scattered…
Gulzar
  • 23,452
  • 27
  • 113
  • 201
2
votes
2 answers

How can I use GIT-TFS and GIT-SVN in the same source tree?

I have a project at work that I'd like to make needlessly complexeasier by using git for my local source control. We use TFS at work, but I also have to push the source to the client's SVN server for production releases. TFS needs to be the…
bdukes
  • 152,002
  • 23
  • 148
  • 175
2
votes
2 answers

TF31002 error when cloning all history from Azure DevOps TFVC collection to Git with GIT-TFS tool

I am trying to migrate a project from Azure DevOps TFVC to Azure DevOps Git with all changeset history, not only for the last 180 days. Just in case, I have migrated the changes of the last 180 days with the tool included in Azure DevOps. So now I…
Jon
  • 891
  • 13
  • 32
2
votes
2 answers

Git-tfs: Delta migration

I'm using git-tfs to migrate a TFVC branch (TFS 2013) to a Git repository (TFS 2013). I was able to successfully migrate the complete history using the below command. git-tfs clone "<>" "<>" -u=<>…
DevOpsy
  • 667
  • 1
  • 8
  • 18
2
votes
2 answers

(git tfs fetch) TF400324: Team Foundation services are not available, The underlying connection was closed

I've been using git-tfs for almost 5 years, and then one day I got the following error when running git tfs fetch: TF400324: Team Foundation services are not available from server https://tfs.company.com/tfs/foo. Technical information (for…
Greg Burghardt
  • 17,900
  • 9
  • 49
  • 92
2
votes
1 answer

Trouble cloning repo from TFS2013

I am trying to migrate/convert a single branch from TFS2013 to local git repo, while preserving the change history. I can execute git-tfs list-remote-branches http://tfsserv:8080/tfs/defaultcollection, and see the repo I'm after, but when I attempt…
meataxe
  • 969
  • 13
  • 33
2
votes
1 answer

Use TFVC and GIT-TFS in one solution simultanouesly

Apology for a very naive question. Current we are using existing TFVC in our team project and we want to migrate into Git-tfs but something makes me wonder if we can both use TFVC and Git-tfs in one team project and solution simultaneously? I…
jtabuloc
  • 2,479
  • 2
  • 17
  • 33
2
votes
2 answers

Linking git repository to multiple TFS projects

I have a git repository that needs to be shared across multiple other projects as a shared library/common code. The projects using this common code are all TFS projects (TFS2013). I am able to host the git repo in TFS, but cannot figure out how to…
Moop
  • 3,414
  • 2
  • 23
  • 37
2
votes
2 answers

Change default remote for git-tfs repository

I am working against the customer's on premises TFS server using the git-tfs bridge. Yesterday they migrated their installation to a new version + changed the URL of the server, migrating all the history and the work items to a new instance. Is…
galenus
  • 2,087
  • 16
  • 24
2
votes
2 answers

git-tfs clone and cleanup

I have cloned my TFVC from VSTS and it pulled all my branches without any errors. I then followed a number of online posts that said to cleanup my projects by doing the following: Remove the GlobalSection(TeamFundationVersionControl) section from…
user1522446
  • 256
  • 3
  • 13
2
votes
2 answers

Migrate TFS 2013 to Git

During the past 24 hours I've been struggling with the following. As our dev team uses TFS (current version 2013) for quite some time, we decided to migrate all of the projects to git. But unfortunately, this doesn't look to be so easy. First of…
dsafa
  • 783
  • 2
  • 8
  • 29
2
votes
2 answers

How to make code reviews when using git-tfs bridge?

In our team it is allowed to make commits only after code review is done. So quite often colleagues send you a code review request. How are you going to see it available in Visual Studio while connected to local repository instead of Team Server?
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
2
votes
1 answer

restore missing tfs changeset with git tf or git tfs

long story short, had a tfs server go down. the backups are a day old (not in my control). we use git tfs and git tf to talk to the server. When I do a git tfs fetch, I get an error that there are missing changesets. Is there a way to push those…
Chadit
  • 965
  • 2
  • 12
  • 27