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
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
2 answers

TF26198 error when doing git tfs rcheckin

We use TFS 2010 at work, and I use git-tfs so I can use git locally. I've recently upgraded my machine, and copied all my local repository folders across. I seem to be able to pull from TFS and commit locally. However when I do git tfs rcheckin, I…
Dan
  • 5,692
  • 3
  • 35
  • 66
1
vote
1 answer

Make Git commit message reflect edited TFS changeset comment

TL;DR As described in this post, I changed a TFS changeset comment. How can I get this to be reflected in the corresponding Git commit in my local Git repository, using Git-Tfs? Verbose version I'm a Git-Tfs user. My workflow is such that I try to…
Keith Pinson
  • 7,835
  • 7
  • 61
  • 104
1
vote
0 answers

Deleting a TFS branch using git-tfs

I have a feature branch in TFS that I've used locally with git-tfs using git tfs branch --init. (Normally I just use local git branches, but in this case I wanted to create a build with my changes, so a TFS feature branch seemed appropriate) I've…
David Gardiner
  • 16,892
  • 20
  • 80
  • 117
1
vote
1 answer

Pull existing Git repo into subtree with full history (no squashing)

We currently use TFS in our organization but are looking into TFS 2013's built-in Git support. I'd like to pull an existing branch from TFS, with all of its history, into a differently named subfolder in Git (yes, I realize creating a separate Git…
Tobias J
  • 19,813
  • 8
  • 81
  • 66
1
vote
1 answer

Hooking up a local VS2012.2 project back up to tfs-git

I'm having difficulty searching for the exact answer to my question. Apologies if its been asked many times. I've been developing on Visual Studio 2012 Update 2 for some time and having changes tracked and saved in a TFS-GIT repository, alongside…
Adrian
  • 133
  • 1
  • 1
  • 3
1
vote
1 answer

git-tfs starting from git

I have an existing git repo that I am being forced to put in tfs. I would like to use the git-tfs tool, but can't figure out for the life of me how to do this. All of the examples I have seen start with git tfs clone, but I already have a git repo…
poindexter12
  • 1,775
  • 1
  • 14
  • 20
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

How do I add TFS tracking to a GIT-TFS cloned repo?

I am currently working as follows : We have a TFS branch - let's call it TFS-Master. We have a git-tfs cloned repository of TFS-Master. I have pushed this repository to github. Up until now, people have been working from my github repository…
tim
  • 537
  • 1
  • 5
  • 18
1
vote
1 answer

Getting a buildable git-tfs

I am trying to modify git-tfs. However, I cannot seem to get it built. What I did: 1. Read the readme which states for building: 1a. Update submodules. git submodule update to get the libgit2sharp dependencies. 1b. Build with msbuild…
Wilbert
  • 7,251
  • 6
  • 51
  • 91
1
vote
1 answer

Git-tfs and spaces in Project name

What is the syntax to clone a TFS project in git-tfs when the project name has spaces? I have tried: git-tfs.exe clone http://tfsint:8080/tfsint01/ "$/NPP UBI Dev/DEV1" The system cannot find the file specified
dream3n
  • 85
  • 9
0
votes
1 answer

git-tfs Access to path is denied

I am trying to clone a TFS project using git-tfs and I didn't get very far. See below $ git tfs quick-clone [my-server] $/path/to/my/branch Initialized empty Git repository in c:/source/git/MyProject/.git/ 101 objects created... 265 objects…
Sebastien Martin
  • 1,341
  • 11
  • 25
0
votes
1 answer

Git-Tfs sending the wrong identity to tfs during shelve

When I try to shelve my changes from git-tfs using the command git tfs shelve MY_SHELVE_NAME, I get the following error: TF14045 The identity {my domain}\{my windows user display name} is not a recognized identity. It looks like git tfs is passing…
wusher
  • 12,291
  • 22
  • 72
  • 95
0
votes
1 answer

Migrating TFS repo to bitbucket using shell script

I have migrated manually by referring https://github.com/git-tfs/git-tfs from my windows server. But I have lot many repos in TFS . So I have written a shell script using same commands and trying to run from git bash in same windows machine. I am…
0
votes
0 answers

Migrating TFVC to Git wrong hierarchy on TFVC

We have a Problem in a migrate existing TFVC to GIT using the GIT-TFS, we have already an existing project in AzureDevOps, that has already created some branches. The structure is DEV -> Main -> ProdRel But the Hierarchy is wrong, is set as: DEV ->…