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

Using git-tfs for local branching

I've installed git-tfs, and done a git-tfs clone http://..... However, I'm wondering if there's a way to do local branching using git-tfs? For example, an equivalent of git checkout -b myBranch The team I'm working on seem to use only one branch…
Alex
  • 37,502
  • 51
  • 204
  • 332
0
votes
1 answer

How to get git-tfs to only checkin a range of changes to TFS (ie, not squash all commits into one)

I've been using git-tfs for a couple weeks now and really enjoying it. I came across a problem earlier today though. I had two commits into git which weren't related(though for question's sake, lets say they touched the same files). I went to check…
Earlz
  • 62,085
  • 98
  • 303
  • 499
0
votes
1 answer

git tfs clone in Cygwin does nothing

I have installed GitTfs 0.15.0 and am trying to clone under Cygwin. I've done the following: Extracted into a directory, GitTfs-0.15.0 chmod +x for every file in GitTfs-0.15.0 Added GitTfs-0.15.0 to the front of my path Verified that which git-tfs…
skiphoppy
  • 97,646
  • 72
  • 174
  • 218
0
votes
1 answer

Git-tfs - reset the remote to a specific sha

I am using git-tfs. How can I reset the remote to a specific sha? I essentially want to undo a change made to the remote.
Ben Aston
  • 53,718
  • 65
  • 205
  • 331
-1
votes
1 answer

archive TFS project to hard drive

I am trying to make sense of TFS projects and figure out ways to export/backup/archive them. Lets just consider I have an OnPremis TFS project (TFS 2015). When I use the git-tfs tool: will it export all work-items? in what format will the exported…
Florian Boehmak
  • 431
  • 4
  • 20
-1
votes
1 answer

git commit in vsts build through powershell does not work

I am trying to push a test file during a ci build on vsts. However, it seems that the commit command does not work.
Igor
  • 323
  • 2
  • 13
-1
votes
1 answer

git-tfs build fails after clone, missing references

I have a team services repository that I have successfully cloned using git-tfs, on past migrations I have had to run the nuget command: update-package -reinstall to re-add all the references and get the solution working, my current migration is a…
Ashley McVeigh
  • 35
  • 1
  • 2
  • 8
-1
votes
1 answer

Merge Local Repositories using GIT-TFS

I have two local repositories. Let's say REPO-A and REPO-B. REPO-B is an updated version of REPO-A provided by an outside vendor. REPO-A is managed using GIT-TFS and REPO-B was a GIT repo. I created a VS project for REPO-B but now I want to merge…
-2
votes
1 answer

Read only TFVC (Team foundation version control)

We are planning to move code repositories from TFS to Git. We wanted to move history along with the current snapshot, but considering the complexity, size and other limitations (Microsoft itself suggests to go with tip migration only), we are…
Pragmatic
  • 3,093
  • 4
  • 33
  • 62
1 2 3
13
14