git-tfs

git-tfs can I clone all branches but skip the history?

♀尐吖头ヾ 提交于 2021-02-19 07:33:11
问题 I want to migrate a project from TFVC to Git. I want to keep the different branches but I dont need each history. Can it be done? I tried git tfs quick-clone -branches=all but I only fetches one branch 回答1: If you want to work with tfs branches, you should clone one of the root branches. After you perform git push, all branches will be pushed to Git team projects. Generally, the following steps would achieve your goal: git-tfs clone http://tfsserver:8080/tfs/CollectionName/ $/teamproject

git-tfs can I clone all branches but skip the history?

我们两清 提交于 2021-02-19 07:33:08
问题 I want to migrate a project from TFVC to Git. I want to keep the different branches but I dont need each history. Can it be done? I tried git tfs quick-clone -branches=all but I only fetches one branch 回答1: If you want to work with tfs branches, you should clone one of the root branches. After you perform git push, all branches will be pushed to Git team projects. Generally, the following steps would achieve your goal: git-tfs clone http://tfsserver:8080/tfs/CollectionName/ $/teamproject

Move code from TFVC on TFS 2010 to TFVC on Azure DevOps Server

左心房为你撑大大i 提交于 2021-02-10 14:28:36
问题 I have some projects on TFVC source control on TFS 2010. I want just to migrate the source code from TFS 2010 to TFVC on Azure DevOps Server. I don't want to process an upgrade of the entire collection to a newest version. I Just want to transfer my code with history. I tried Git-TFS. I cloned my repository on TFS 2010, but I don't know how I can update the remote URL for TFVC repos and push on Azure DevOps Server. Any ideas how I can do it? Or other tools that I can use?. In the case I

Migrate TFS 2013 to Git

倾然丶 夕夏残阳落幕 提交于 2020-12-12 03:58:24
问题 During the past 24 hours I've been struggling with the following. As our dev team uses TFS (current version 2013) for quite some time, we decided to migrate all of the projects to git. But unfortunately, this doesn't look to be so easy. First of all, I've tried with git tfs, but every time I try to clone a collection it says: Access to path 'x' denied. In contrary, listing all of the branches runs smoothly. Because of that, I was trying to go the way around by trying to convert a TFS

Migrate TFS 2013 to Git

会有一股神秘感。 提交于 2020-12-12 03:57:59
问题 During the past 24 hours I've been struggling with the following. As our dev team uses TFS (current version 2013) for quite some time, we decided to migrate all of the projects to git. But unfortunately, this doesn't look to be so easy. First of all, I've tried with git tfs, but every time I try to clone a collection it says: Access to path 'x' denied. In contrary, listing all of the branches runs smoothly. Because of that, I was trying to go the way around by trying to convert a TFS

Clone GIT to TFS (AzureDevOps) with git-tfs

房东的猫 提交于 2020-02-25 08:19:09
问题 we have an local DevOps Server 2019 with our old projects and I am able to clone this projects with git-tfs to local Git repositories. Everything is fine. After that I can push this repositories to our AzureDevOps Git repositories. Everything ok. Now we have some projects and colleagues who want to use TFVC for these special projects. So my idea was to clone these projects from local TFS to Git and then use git-tfs rcheckin to push it to our AzureDevOps project. But when I use "git-fts

Clear Git repository

一笑奈何 提交于 2020-01-07 02:37:10
问题 I've to transfert a TFS server to a GIT(Bitbucket) server. We are currently using git-tfs to do it, but we are doing some tests before migrating(like configuring jenkins, checkin that everything is correctly transfered). The issue is that now it seems I cannot run the git push command because I've the repository that is already filled with a lot of stuff from the previous run. Is there a way to "reset" the repository(like if I've never done any commit) ? Without deleting it? I've found this:

Clear Git repository

落爺英雄遲暮 提交于 2020-01-07 02:37:05
问题 I've to transfert a TFS server to a GIT(Bitbucket) server. We are currently using git-tfs to do it, but we are doing some tests before migrating(like configuring jenkins, checkin that everything is correctly transfered). The issue is that now it seems I cannot run the git push command because I've the repository that is already filled with a lot of stuff from the previous run. Is there a way to "reset" the repository(like if I've never done any commit) ? Without deleting it? I've found this:

will adding .gitconfig in repository override my global .gitconfig file configurations?

爷,独闯天下 提交于 2020-01-04 05:32:26
问题 I am having my project hosted in TFS-GIT server. I am having an issue with pull request merges on TFS . one option is to update git configs on TFS server itself to make "merges --no--ff" because of time crunch and other issues that cannot be done sooner . I am looking for a workaround for this issue If i add .gitconfig file to the repository with merge .ff and pull.ff to false will that override configs applied at repository level ? will that work like that with git? Any help is greatly

How do I remove a package installed via Chocolatey?

房东的猫 提交于 2020-01-01 07:33:08
问题 I installed gittfs using cinst gittfs How do I now remove the gittfs package? 回答1: Use cuninst packagename See Uninstall Command for details. 回答2: UPDATE: as per @ferventcoder's comment, Chocolately has added support for uninstalling packages since this question was first asked and answered. The syntax is chocolatey uninstall packageName or just cuninst packageName . You can optionally uninstall a specific version: cuninst packageName -version 1.0.1234 See Rob's link for the latest, including