Questions tagged [git-tf]

git-tf is a cross-platform tool to bridge git repositories with Microsoft Team Foundation Server version control. This differs from the Windows-based git-tfs tool, please use the git-tfs tag for questions about that program.

git-tf is a cross-platform tool to bridge git repositories with Microsoft Team Foundation Server version control. Users can create a git repository locally, where git commits are mapped to TFS changesets, and then checkin changes to their local git repository back to TFS. git-tf utilizes and to work on a variety of platforms, including Windows, Mac, Linux and others.

git-tf differs from the similar git-tfs tool that is Windows-only. Please use the tag for questions about that program.

git-tf is maintained by Microsoft and is open sourced under an MIT license.

84 questions
2
votes
0 answers

Git commands to move from TFVC to TFS Git

Just tried to do the following using the paths relative to my setup, git tf clone https://nakedalm.visualstudio.com/DefaultCollection $/TfsExtensions/TfPlugable c:\temp\TfPlugable cd C:\Users\MrHinsh\Source\Repos\TfPlugable git remote add…
BossHogg
  • 23
  • 3
2
votes
2 answers

Import using GIT-TF - item already has pending changes

I have two instances of TFS, one 2012 and the other 2013. My goal is to export some source code from the 2012 instance and import it into the 2013 instance, preserving the check in history. The method I'm employing is; Install GIT for windows from…
Dennis Allen
  • 412
  • 5
  • 14
2
votes
2 answers

How can I migrate Team Foundation Server 2013 Work Items to a new TFS Git Repository?

I'm busy migrating a Team Foundation Server 2012 Repository to a Git repository running in TFS 2013. I'm using the recommended process: Clone a Git repository form TFS using git-tf. Create the Git repository using Visual Studio 2013 connected to a…
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
2
votes
1 answer

How do I work around "TFS does not support having the same item with different cases in the same path."

I'm currently trying to migrate a SVN repository to TFS (specifically visualstudio.com). I looked around and found the cheapest and easiest option is to go via GIT, as is detailed in this post. The process was going well, I used GIT SVN to build the…
Phil Cox
  • 103
  • 5
2
votes
1 answer

Git repository and TFS repository

Once upon a time we had a TFS repository. We wanted to move to Git. At the time we took just the latest working version, copied that to a new git repo and started working on that. However due to decommissioning of TFS we'd like to clone the TFS repo…
Anemoia
  • 7,928
  • 7
  • 46
  • 71
2
votes
0 answers

git tf autosquash exception

I am trying to push a git repository to tfs and it has multiple branches on it. I get a stackoverflow error with the deep checkin. Looks like a recrusive call fail. Is there a workaround? git tf checkin --deep –autosquash Fails at…
user460025
  • 629
  • 1
  • 10
  • 20
2
votes
1 answer

Does git-tf allow merging remote branches? What about Cherry-picking?

We maintain multiple TFS branches in our release cycle. The current process is to cherry-pick changesets from the WIP branch into a Test branch when user stories are completed. I am mostly curious to know if git-tf allows working with multiple…
Sebastien Martin
  • 1,341
  • 11
  • 25
2
votes
1 answer

Strange error in Git-TF

I'm trying to pull changes from Git into TFS. Getting this error: git-tf: User config file C:\Users\Administrator.gitconfig invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file C:\Users\Administrator.gitconfig Ideas?
user626528
  • 13,999
  • 30
  • 78
  • 146
1
vote
2 answers

Can I resume a git tf clone?

I have a very large code in TFS and I have to clone it along with all previous history, so it takes more than 10 hours to clone. Due to the connectivity issue, the cloning gets interrupted and I am unable to complete the clone. Is there a way to…
1
vote
0 answers

git tf clone can't to find JAR "com.microsoft.gittf.client.clc"

I'm getting this error when running the command below using powershell git tf clone http://mytfsserver:8080/tfs/mycollectionname $/myprojectname **error:** *Unable to find a required JAR:…
pent
  • 21
  • 2
1
vote
1 answer

Git-TF pushes changes to a wrong server

I tried to migrate Git repository to TFS with all history using git-tf. I used the following command lines: git tf --force configure http://tfs.YYYY.net/tfs/Collection '$\RepositoryName' git tf checkin --deep --autosquash --preview The problem is…
AlinM
  • 21
  • 2
1
vote
2 answers

Migrate only part of TFS repository to Git on Azure DevOps

I am new to a company and my boss wants me to set up a proper Git repository to replace the existing TFVC repo. My company has dozens of .NET solutions for various separate products all in a single repo all in separate folders. These solutions are…
Ross Gustafson
  • 1,182
  • 3
  • 16
  • 32
1
vote
1 answer

git-tf with separate repositories

I'm part of an organization that is unfortunately using TFS/TFVC for source control. My small team been tasked with doing a sort of "proof of concept" run with git, but we have to be able to push our changes into TFS. Luckily, git-tf and git-tfs…
moneyt
  • 452
  • 8
  • 18
1
vote
1 answer

git-TF tfs 2013 Cannot Clone Repo - Ubuntu

The path structure of TFS 2013 for Git Repos is not working. My path is the following: http://tfsserver:8080/tfs/DC/_git/PrjName So when I call the following, it cannot find the repo. git tf clone http://tfsserver:8080/tfs/DC $/_git/PrjName If I use…
Omnia9
  • 1,563
  • 4
  • 14
  • 39