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

git lfs push is throwing "RPC failed" error

I am trying to migrate the repository from TFVC to Git with History of 4 months which is a huge data. I am using git tfs to clone it from a branch of a repo from TFVC to my local and trying to push it to a empty Git repository by enabling git lfs to…
0
votes
0 answers

git-tfs: Unable to clone TFS project

I am trying to use git-tfs to clone a TFVC repository, using this command line. C:\>git tfs clone http://:8080/tfs/ $/Project/SubFolder/Project Found matching Visual Studio version at C:\Program Files (x86)\Microsoft…
R.J. Dunnill
  • 2,049
  • 3
  • 10
  • 21
0
votes
1 answer

Unauthorized error with git tfs list-remote-branches

I have a repo in Azure Devops using TFVC for version control and I'm trying to migrate the repo which has several branches to a new repo using git. I'm following instructions from this video https://youtu.be/7qiQ6ONkSf4 How to Migrate your TFVC…
Gus Larson
  • 13
  • 2
0
votes
1 answer

Sync git branches after migration from tfvc

How can I sync branches after migration from tfvc so that ahead|behind is 0|0? The branches are identical in contents but with different history. We are using Azure DevOps. git merge syncs up the branches perfectly but also merges in all the commits…
Martin Nilsson
  • 659
  • 1
  • 8
  • 17
0
votes
1 answer

Git-TFS giving "not a recognized identity" trying to create shelveset

I'm using git-tfs, and much of its functionality works fine. I can pull, and I can use the checkintool. But I can't create shelvesets. When I try to git tfs shelve ShelveSetName, I get this error: TF14045: The identity MYDOMAIN\Joe White is not a…
Joe White
  • 94,807
  • 60
  • 220
  • 330
0
votes
1 answer

Is it possible to use git-tfs utility to migrate a TFVC repo local copy (residing on a disk) to git?

We have a TFS repo hosted on Azure devops services (dev.azure.com). We need to convert this to GIT format. We tried using git-tfs utility**(https://github.com/git-tfs/git-tfs)** to run against the azure devops hosted repo and have got following…
0
votes
1 answer

git-tfs when trying to clone TFVC repo error contacting server

I am trying to move a repo from TFVC hosted by an ex colleague to a new azure devops account (which will use git). From researching, the only possibility I have found to move it with history is to use git-tfs tool in the command line. When I run…
user11889334
  • 79
  • 1
  • 7
0
votes
1 answer

git-tfs , copy history from one TFS project to another TFS project

I'm trying to use git-tfs to copy code & history from TFS proj1 to TFS proj2; is this possible? When I try the below commands it doesn't work, see below output. git-tfs.exe clone --branches=auto https://dev.azure.com/[org] $/[proj1]/Trunk…
0
votes
0 answers

Git Tfs not showing all branches

I've successfully cloned a large repository as follows (I'm showing just parts of it here): # git tfs clone --debug --gitignore=/d/Repos/VisualStudio.gitignore --changeset=51731 --branches=all http://server:8080/tfs/MyCollection $/MyProject/Main…
salvis
  • 11
  • 2
0
votes
1 answer

Given tfs name is not correct URI and not found as a registered TFS instance

Using git-tfs, when I try and connect to my tfs server I get the error message: Given tfs name is not correct URI and not found as a registered TFS instance The command I'm using is: git tfs clone "http://ip.add.re.ss:8080/tfs/Collection Name/"…
simonalexander2005
  • 4,338
  • 4
  • 48
  • 92
0
votes
1 answer

TFS to GitHub Migration (Unable to push larger files into github that were actually removed from tfs repo before cloning using git tfs clone)

I am working on migrating the TFS repo with commit history to GitHub. I am using the tool https://github.com/git-tfs/git-tfs. Till now I have migrated around 20 repo's using this tool. I am facing am issue while migrating files which are larger than…
0
votes
2 answers

Is it possible to copy an TFS-Project folder from one collection to another

I'm currently trying to migrate from TFS 2013 to GitLab. The problem is I want to keep some projects on my TFS server but get them all into one collection. I don't want to copy a whole project from one collection to another, I want to copy a folder…
brachi
  • 119
  • 1
  • 3
  • 16
0
votes
1 answer

Cherry-picking changesets after bulk merge into main

Let's suppose that I have three branches: Main +--Dev +--Release And several changesets in Dev: changeset 1, 2 and 3 and all three changesets affect some File. At some point I merge them all into Main and get changeset 4, that includes changes from…
Vitaliy Kurokhtin
  • 7,205
  • 1
  • 19
  • 18
0
votes
2 answers

How to fake an initial merge of two unrelated branches

We are migrating from TFS VC using git-tfs. However, because of the nature of our branches (some branches were created by copying the folders, and not via branching), we could not migrate all the TFVC history. As such, our migrated branches do not…
jparaya
  • 1,331
  • 11
  • 15
0
votes
1 answer

How can I execute `git tfs rcheckin` from TortoiseGit like a `push`?

I'm using Git and TortoiseGit locally under Windows against a Team Foundation Server with Team Foundation Version Control (not Git!). When working with TortoiseGit against a Git server it's pretty easy to pull, fetch, and push. But using git-tfs I…
Christoph Jüngling
  • 1,080
  • 7
  • 26