Tuesday, July 11, 2017

Clone existing Git repo to TFS git

Clone existing git repo ( Visual Studio 2015/2017 or github)
Copy remote URL and edit the remote origin to the cloned url
Using command prompt(Browse to the actual directory in Git Bash)
  • git remote rm origin
  • git push -u origin --all

In case we get "SL certificate problem: Unable to get local issuer certificate" error, execute below statement:
https://confluence.atlassian.com/bitbucketserverkb/ssl-certificate-problem-unable-to-get-local-issuer-certificate-816521128.html

git config --global http.sslVerify false

No comments:

Post a Comment