tfs

How do I delete a file from the Git Commit history from every branch locally and remotely?

守給你的承諾、 提交于 2020-01-06 06:34:26
问题 Git Newbie here, How do I remove all traces of a file from my Git commits - e.g. delete it everywhere in every branch, both locally and remote. Most of the articles and Stack Overflow stuff I've seen states that some variation of this is the way to go: git filter-branch --tree-filter 'rm -f file_to_remove.py' HEAD or git filter-branch --tree-filter 'rm -f file_to_remove.py' ..HEAD or git filter-branch --force --tree-filter 'rm -f file_to_remove.py' -- --all etc... But, I can't seem to get any

How do I delete a file from the Git Commit history from every branch locally and remotely?

耗尽温柔 提交于 2020-01-06 06:32:11
问题 Git Newbie here, How do I remove all traces of a file from my Git commits - e.g. delete it everywhere in every branch, both locally and remote. Most of the articles and Stack Overflow stuff I've seen states that some variation of this is the way to go: git filter-branch --tree-filter 'rm -f file_to_remove.py' HEAD or git filter-branch --tree-filter 'rm -f file_to_remove.py' ..HEAD or git filter-branch --force --tree-filter 'rm -f file_to_remove.py' -- --all etc... But, I can't seem to get any

How to auto generating setup file while check-in the code in to TFS

江枫思渺然 提交于 2020-01-06 05:59:12
问题 How do I integrate InstallShield/Wix/IsWix with TFS? I wish to auto generate setup files during successful TFS checkin/release? I am comparing InstallShield with Wix and IsWix ! to choose the right candidate for upcoming product development. Tools Used v.Next Builds Team Foundation Version Control Update from InstallShield support team To integrate InstallShield with Team Foundation Server, install InstallShield on each machine that u want to be able to create, update, or build InstallShield

CODE-PUSH unable to release on VSTS

自闭症网瘾萝莉.ら 提交于 2020-01-06 05:50:32
问题 While trying to release via code-push on VSTS getting the following error: Unable to find or read "config.xml" in the CWD. The "release-cordova" command must be executed in a Cordova project folder 2017-11-21T09:22:35.1120732Z [Error] Unable to find or read "config.xml" in the CWD. The "release-cordova" command must be executed in a Cordova project folder. 2017-11-21T09:22:35.1200947Z ##[debug]Finished Building Command: node d:\a\_tasks\CodePushReleaseCordova_f5990527-f512-4c14-9f8e

How to scrape/attain a url from tfs source control and append it to a markdown file?

给你一囗甜甜゛ 提交于 2020-01-06 05:47:26
问题 I'm in the process of setting up a prototype for documentation generation using source controlled files on tfs via docfx. I'd like to be able to create a link on each article such that upon clicking it, it directs me to the file on tfs. For example, if I have a file called index.md and the url for it is http://tfs:8080/tfs/{collection}/{directory}/{restofthepath}Findex.md&_a=contents I'd like to be able to somehow append that url as a link in index.md. Is there a way to do this? In essence I

Azure DevOps pipeline task to update a file and check-in TFS

风流意气都作罢 提交于 2020-01-06 04:29:48
问题 I'm using the Azure Dev OPS to trigger the build and deploy. I have angular code in GIT branch from which the build will be triggered and based on build# I need to update a file in TFS and check-in the same. I have added the PowerShell task to read the build# from GIT branch. But I don't know the further steps to update the file and check-in the same in TFS branch. Please suggest PowerShell commands to achieve the ablove mentioned tasks. 回答1: Azure DevOps pipeline task to update a file and

TFS: how to limit field integer value

丶灬走出姿态 提交于 2020-01-06 04:19:07
问题 There are two integer fields ('lowest' and 'highest') in TFS work item. Is there any possibility to limit the value of the 'lowest' to be not greater that value of the 'highest'? Thanks a lot! 回答1: It is not possible to do this sort of comparison in TFS Work Items. This MSDN page lists the available work item rules. REQUIRED READONLY EMPTY FROZEN CANNOTLOSEVALUE NOTSAMEAS VALIDUSER ALLOWEXISTINGVALUE MATCH ALLOWEDVALUES SUGGESTEDVALUES PROHIBITEDVALUES DEFAULT COPY SERVERDEFAULT 来源: https:/

How to automate SSRS install and configuration

随声附和 提交于 2020-01-06 03:59:08
问题 This is my scenario: I have to setup a number of TFS 2013 Application Tier nodes (at least 6) and I am trying to automate the process, the nodes hosts also SQL Server Reporting Services 2012 SP1 in "cluster" (better group) configuration. I have no problem in installing SQL, but I am stuck with Reporting Services configuration. The documentation states to use WMI to configure URLs, and the MSReportServer_ConfigurationSetting class has a SetVirtualDirectory which seems appropriate. I see that

Missing ProcessParameterMetadata in TFS DefaultTemplate.xaml: where is for e.g. Items to Build in the Required category

Deadly 提交于 2020-01-06 03:41:07
问题 I'm trying to figure out how the Windows Workflow Foundation (WWF) template provided by default for builds in TFS specifies the Build process parameters in a build definition. This should happen via the ProcessParameterMetadataCollection and the ProcessParameterMetadata contained therein. However nowhere in the DefaultTemplate.xaml are they specified. There's no Required category or Items to Build item anywhere, and none of the others circled in red either. See picture below. I thought maybe

Get TFS Webhook SubscriptionStatus

时光怂恿深爱的人放手 提交于 2020-01-06 02:46:10
问题 From my previous question link here it appears that we do not have a feature in any version of TFS/Azure DevOps to setup monitoring for the webhook subscriptions. As a workaround I'm now looking to write a PowerShell script to check the heartbeat of the subscription. From the Microsoft documentation link here it appears we can get the SubscriptionStatus by querying the subscription ID. On a GET request for below API I receive all the details specified in the documentation but I'm unable to