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
79
votes
3 answers

What's the difference between git-tf and git-tfs?

I've recently been getting really fed up with TFS. I've heard that there is a light at the end of the tunnel though. Apparently I can use either git-tf or git-tfs and treat my code as if it was managed by git, but be able to push/pull to/from a…
Earlz
  • 62,085
  • 98
  • 303
  • 499
30
votes
4 answers

Git-tf unable to find required JAR

I'm trying to setup git-tf bridge on my windows work station. When I try to execute one of the commands it always shows message: Unable to find a required JAR: C:\my\path\to\git-tf/lib/com.microsoft.gittf.client.clc-*jar does not exist. The problem…
Boris Pavlovski
  • 725
  • 7
  • 9
28
votes
1 answer

How can I get Git to truly *ignore* line endings?

How can I tell Git to truly not care about line endings? To leave them as LF or CRLF, as they originally were, and check them in the same way? I'm using a Git repository with git-tf to check in to a TFS repository. The rest of my team is using TFS…
Ryan Lundy
  • 204,559
  • 37
  • 180
  • 211
24
votes
4 answers

Associating git commits with Team Foundation work items

Context A GitHub Enterprise installation used for development. Every developer has his own public repo, and the organization has the authorative repo. Pull requests are used for code reviews, and we loosely follow nvie's git flow branching model. A…
Wilbert
  • 7,251
  • 6
  • 51
  • 91
13
votes
2 answers

git-tf how do I avoid specify my credentials every checkin

My question is exactly the title. Every time I run the command git-tf checkin in my command prompt when its connecting to TFS it asks for my username and password. How can I avoid this? Either have it to log in with the current user or store the…
John
  • 2,043
  • 5
  • 28
  • 49
10
votes
1 answer

Sidekiq worker is leaking memory

Using the sidekiq gem - I have sidekiq worker that runs a process (git-tf clone of big repository) using IO.popen and tracks the stdout to check the progress of the clone. When I am running the worker, I see that sidekiq memory is getting larger…
Yosi
  • 2,936
  • 7
  • 39
  • 64
7
votes
3 answers

how to pass username and password while cloning TFS to git in window powershell

I want to import TFS repo to git and clone into my local machine and I am using git-tf. Below my code:- git-tf clone http://server:8080/tfs/DefaultCollection $/SampleProject D:\TFSRepoName I want to pass username and password in url , so…
Priya Rani
  • 1,063
  • 3
  • 11
  • 21
7
votes
1 answer

Revising git repo history to become linear

We need to generate a TFS repository from a Git source code base, we would like to preserve the original commit history, so I tried to use Tf-Git "git tf checkin --deep" command that is supposed to create a TFS changeset for each Git…
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
6
votes
0 answers

Pulling changes from TFS with git-tf

In our company, git is not supported, only TFS is. In my team however, we all use git and before using git-tf we were using git-tfs. A few days ago me and another colleague decided to give git-tf a try, so we did a git tf clone --deep of our project…
Adrian
  • 743
  • 9
  • 29
6
votes
3 answers

Permissions Required for GIT-TF?

I am the admin for my company's TFS2012 server. I have gotten GIT-TF working for myself, however the other developers at my company are having permission problems. They have access to the project in question as a contributor, but performing a clone…
bruestle2
  • 727
  • 1
  • 8
  • 22
6
votes
1 answer

Git-TF push all changes to another TFS repository

I cloned TFS repo to my local Git and then tried to change TFS remote to another repository to transmit all the changesets to it using the following commands: git tf --force configure http://tfs2012:8080/tfs/DefaultCollection $/ProjectName git tf…
skayred
  • 10,603
  • 10
  • 52
  • 94
5
votes
1 answer

How to Change Git-TF checkin message format

Does anyone know how to configure the auto-generated message that is created on a git-tf checkin command to TFS? I would like to have more control over that to allow for adding a comment during checkin. The agile process system that my company uses…
gpat2012
  • 51
  • 2
4
votes
1 answer

Git-Tf Moving parts of a large Tfs Project

My team and I have a large TFS Project with many Visual Studio solutions and many Projects. We are in the process of splitting up this Project into smaller logical parts, and moving the parts into separate git repositories. I have started to look at…
4
votes
1 answer

Migrate to GIT from TFS with multiple branches and their history

C:\>git tf clone https://companyname.visualstudio.com/DefaultCollection $/companyname/Main OldTFS --deep This only gets me main branch history. That was git tf. C:\>git tfs clone https://companyname.visualstudio.com/DefaultCollection…
IsmailS
  • 10,797
  • 21
  • 82
  • 134
4
votes
1 answer

git tf configure command error (git-tf nothing to configure)

After creating a git repository (repo1) using GIT Bash by pulling a project from TFS2012 server 'A', I am trying to configure a project on another TFS2012 server 'B' using below command from repo1 directory as explained here: git tf configure…
Nexus23
  • 6,195
  • 9
  • 50
  • 67
1
2 3 4 5 6