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
0
votes
1 answer

git-tf configure problems with space (%20)

Currently trying to copy a local git repository to my 2013 TFS server. When I try to use this command: git tf configure http://ip:8080/tfs/collection%20name/ $/project I get the error: git-tf: 'http://ip:8080/tfs/collection%20name/' is not a valid…
brachi
  • 119
  • 1
  • 3
  • 16
0
votes
0 answers

how to migrate from TFS to GIT with history?

I'm following the standard approach that everyone is doing on the internet. I've installed chocolatey and git-tf. I've used the powershell command git tf clone https://your-server/tfs/collection $/Project/Path local-dir and for some reason it's…
0
votes
1 answer

Migrate only part of TFS repository with history to Git azure devops

We have folder structure in tfs repository MISC like this:- Test1(sub-Folder1)-> Test1Solution.txt Test2(sub-Folder2) Test3(sub-Folder2.1) Test3Solution.txt Test4 (sub-Folder2.1.1) And we want to…
Chandan Kumar
  • 127
  • 1
  • 3
  • 7
0
votes
1 answer

git-tf clone to DevOps

I'm trying to use git-tf to migrate some old TFVC projects from our local TFS to AzureDevOps (also a project with TFVC). git-tf clone ... works No I have the folder e.g. C:\TFSMigration\ProjectX When I do git-tf checkin --deep the sourcecode is…
bater
  • 97
  • 9
0
votes
1 answer

Git cannot find local repository $ on desktop

I am trying to clone connect a TFS server into my local desktop git repository. How do I resolve error below? I am trying to connect to local C:\ with a dollar sign. git tfs clone "https://testserver.com/abcd/collection/" $/source/gittest…
user11224167
0
votes
1 answer

VSTS: add domain user that is not in Azure Active Directory

I am trying to add a user into our VSTS. This user is a domain account on the company's Azure AD, which is connected to VSTS. The user does not show up in the directory. I imagine they no longer are with the company. However, I am trying to add…
Dan Csharpster
  • 2,662
  • 1
  • 26
  • 50
0
votes
1 answer

git-tf not finding TFS project in VSO

I have a valid git repository on my local drive that I want to push up into an empty TFS project on VSTS. After configuring (using git-tf configure), every attempt to check-in the code is met with: "git-tf: Could not find a valid TFS Collection at…
Prethen
  • 269
  • 1
  • 11
0
votes
0 answers

git-tf : git-tf: Unknown host "server"

I have TFS (on-premesies ) having my server name:8080 and I am able to clone repo to my system but I am trying to clone tfs repo to another system. Below is my code :- git tfs clone lp-r90c2gwk:8080/tfs/DefaultCollection $/SampleProject…
Priya Rani
  • 1,063
  • 3
  • 11
  • 21
0
votes
1 answer

Clone a TFVC repository (to GIT) with work item links intact

Is there any tool that supports so called "id mentions" when cloning a TFVC repository into a Git repository? What I would like is for each commit in the cloned Git repository to contain id mentions for its linked work items. Commit: hash... …
Emil G
  • 1,211
  • 1
  • 14
  • 26
0
votes
1 answer

GIT-TF Invalid path: */.git

I would like to move from TFS to Git. I downloaded GIT-TF tool. I was successfully able to move one project, but when I try the other one I get an error. Problem is that in this TFS project there is small part (one folder) that is already under git…
Pavel Hornak
  • 55
  • 1
  • 5
0
votes
2 answers

git-tf tells on linux me “Could not lock” when checking in; how can I fix it?

I'm using git-tf to push to a TFS project on lin. Sometimes, when I try to check one or more commits into TFS, I get a message like this: Connecting to TFS... Checking in to $/MyProject: 0% git-tf: Could not lock $/MyProject What does this…
0
votes
1 answer

clone issue with git-tf and TFS-2010

I'm trying to clone a team project from TFS 2010 using git-tf, but I'm getting the following error: PS C:\git> git-tf clone --deep http://path-to-tpc $/Test/Trunk test-2010 Connecting to TFS... Cloning $/Test/Trunk into C:\git\test-2010: 0% git-tf:…
Ryan.Bartsch
  • 3,698
  • 1
  • 26
  • 52
0
votes
1 answer

Transfering TFS to Git with history till certain date

I am in the process of transferring our code from TFS to git as per the article here The tool use the following command to clone TFS version to local repository along with all the history. git-tf clone…
LP13
  • 30,567
  • 53
  • 217
  • 400
0
votes
1 answer

Git-TF - Why use configure

On my linux machine I setup Git-TF (https://gittf.codeplex.com/). I am curious with the instructions, why do I need to use configure? it says that is when you are working on a multiple man team, but if I do not do this can I not just do git tf…
jrock2004
  • 3,229
  • 5
  • 40
  • 73
0
votes
1 answer

The path x is already mapped in workspace x. git tf checkin having Eclipse TFS path mapped

On trying to checkin using git-tf, I got the following error: git-tf: The path /Users/xxx/.git/tf/612ef50 is already mapped in workspace MacBook-Pro;DOMAIN\USER.