Reputation: 864
I always use TFS for source control, last week I gave github a try and use that for testing. Now I want to sync and use TFS with my solution. Everytime I open the solution it connects to github, I tried disconnecting it and connect to my tfs workspace. But won't let me. I tried right clicking the solution > source control, there's no option..
well I guess I have to download and then use the new solution to sync to tfs or use git-tfs.
Thank you in advance
Upvotes: 0
Views: 80
Reputation: 31075
You can install Git-TF, then run the following commands:
--
http://myserver:8080/tfs/mycollection $/TeamProjectA/Main
--
git tf checkin --deep
————————
Update:
If you don't need history, you can try to unbind the source control from GitHub by going to the solution folder, delete .git folder
(hidden folder), .gitattributes
file and .gitignore
file. Then commit the solution into TFS.
Upvotes: 1