Monday, July 24, 2017

working with GIT TFS and corporate Security Certs

you have to work with TFS GIT repositories and your company has their own ssl certificates

I found the following article:

https://blogs.msdn.microsoft.com/phkelley/2014/01/20/adding-a-corporate-or-self-signed-certificate-authority-to-git-exes-store/



However, the new git version creates different certificates files instead of CURL-..

normally visual studio and their integration with GIT does not install GIT

therefore you need to:
1.-  install the windows client of GIT
Go to GIT: https://git-scm.com/download/win

2.- copy the certificate to from C:\Program Files\Git\usr\ssl\certs


https://curl.haxx.se/docs/sslcerts.html






Thursday, July 13, 2017

Deleting folders permanently from TFS .......

So you are an Admin and the team request you to delete folders from your tfs teamproject repository.

- Requisites :
  - You need to be team project administrator

tf vc destroy [/keephistory] itemspec1 [;versionspec]
              [itemspec2...itemspecN] [/stopat:versionspec] [/preview]
              [/startcleanup] [/noprompt] [/silent]
              [/login:username,[password]]
              [/collection:TeamProjectCollectionUrl]

tf vc destroy $/ProjectRepo/main2017 /collection:https://TFSSERVERURL/tfs/SAMPLEcollection   /noprompt /silent