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
1
vote
1 answer

Can't ignore *.vssscc, *.vspscc files

I'm using Git-TF (bridge between Git and Team Foundation Version Control (tfvc)) git tf pull downloads .vssscc, .vspscc files into the repository and commits. So if I use git push next, it uploads those files into remote repository which is not…
cilerler
  • 9,010
  • 10
  • 56
  • 91
1
vote
2 answers

TFS 2013 Git Build Definition with TFVC Source

In TFS 2013, is there any way to create a custom build workflow (via a custom .xaml file) which uses source from both a TFS-Git project and TFVC project? When creating a Build Def in a Git project, the Source Settings tab only allows selection of a…
Suchit-CM
  • 55
  • 6
1
vote
1 answer

way to get a percentage of change history using git-tf

I am using git-tf to migrate my project from tfs to git. The problem is that its a massive project with 20k+ commits and the socket connection closes after 7-8 hours of migration giving me the following error : git-tf:…
Scooby
  • 3,371
  • 8
  • 44
  • 84
1
vote
1 answer

Create a new high level folder in TFS without downloading all project using Team Explorer Everywhere command line Linux

I want to add new folder to TFS that will contain a new project. I'm using "Team Explorer Everywhere 2013" for Linux. The folder structure is like the…
Matt
  • 364
  • 4
  • 10
1
vote
2 answers

How to re-enable a commit into TFS?

My company uses Visual Studio Team Services (formerly Visual Studio Online, Team Foundation Service). As a developer I use git-tf to do my work with Git. To apply Continuous Integration I have Jenkins running that fetches the code from Team Services…
Sascha Gottfried
  • 3,303
  • 20
  • 30
1
vote
1 answer

Command not found error on git-tf clone

Installed Git and Git-TF on my machine. I can open the terminal type in git-tf --version and see the current version running on my Mac. (Running a Mac with 10.8.5.) But when I run a git-tf clone command I get "command not found". I've checked my…
eimmer
  • 1,537
  • 1
  • 10
  • 29
1
vote
1 answer

Using git sparse checkout with git-tf

I'm working with a large TFS collection (around 5GB) and I'm looking for a way to reduce the size of it on my local machine. If I were using TFS as a client I would cloak the directories I don't need. But I' using git and connecting via git-tf. I…
Mark J Miller
  • 4,751
  • 5
  • 44
  • 74
1
vote
1 answer

How to Clone a TFS Repository with a Hyphen in the name Using git-tf

Please help! I've been banging my head against the wall all week on this one! When I attempt to clone an repository with a long dash in its name, I get a repository not found error. I have tried all sorts of ways to escape it with not luck. …
user432404
  • 41
  • 3
1
vote
0 answers

Automatically add the author date in prepare-commit-msg in GIT

I am looking for a way to add the author date to the commit message in GIT, using the prepare-commit-msg hook. This is necessary for a GIT->TFS migration workaround. I came up with the following script, but I couldn't find a way to reference the…
JonathanReez
  • 1,559
  • 3
  • 21
  • 37
1
vote
1 answer

git-tfs one checkin for multiple tfs projects

At my work, we have a number of separate TFS projects that are combined together to form our Visual Studio solutions. These separate TFS projects are maintained so that we can reuse code across multiple solutions. Admittedly, this was a bad idea,…
Gordon Burgett
  • 1,482
  • 11
  • 15
1
vote
1 answer

Git-tf commands throwing Exception in thread "main" java.lang.UnsatisfiedLinkError

I noticed after recently upgrading to mountain lion all git tf commands such as git tf checkin throw the following expection: Exception in thread "main" java.lang.UnsatisfiedLinkError:…
Troy Watt
  • 868
  • 8
  • 16
1
vote
1 answer

Git-tf thowing permission denied over VPN

I'm trying access our TFS server when VPN'd from home but it only gives me the following message: Connecting to TFS... git-tf: Permission denied: connect I'm using a fully qualified URL and everything else works just fine over the VPN. Are there…
Josh Russo
  • 3,080
  • 2
  • 41
  • 62
1
vote
1 answer

Stuck on setting up git-tf for OSX Mountain Lion xCode - TFS integration

I have been trying to follow the instructions (Git-TF_GettingStarted.html) to set up git - tf integration from xcode to TFS 2010 I think my problem is setting up the path variables correctly. I am in terminal, and created a .profile file via "open…
Steven Striga
  • 1,371
  • 2
  • 10
  • 17
1
vote
0 answers

Understanding why git-tf sometimes fails on pull --deep --rebase

Background: I've just started using git-tf after being extremely frustrated with the wait times pulling down a TFS project with 50+ branches (and so many other reasons). Not a git user previously, so I'm learning all the commands and functionality…
intrepidus
  • 974
  • 2
  • 12
  • 24
0
votes
1 answer

git-tf clone exception java.lang.UnsatisfiedLinkError

I am trying to use git-tf to clone a TFVC project on TFS. When I run git-tf clone I am prompted to enter my TFS username and after entering my username, I get a java.lang.UnsatisfiedLinkError. My goal is to migrate this project to Git and push it to…
Saudrules
  • 1
  • 1