Recipe 1.13 Integrate Visual Studio Team Services (VSTS) with GitHub using a User Account
Problem
You wish to integrate a GitHub repository with VSTS using a GitHub user account.
Solution
Note: If you're using a pop-up blocker, you'll need to allow your Team Services account to display pop-up windows.
On the Repository tab, next to the Connection drop-down, click the Manage link. The Services tab opens as a new tab in your browser.
- Click New Service Endpoint and choose GitHub.
- In the Add New GitHub Service Connection dialog box, select Grant authorization, and then click Authorize.
- In the new browser window, sign in to GitHub and follow the instructions to authorize Visual Studio Team Services to access your GitHub account.
On the Repository tab, select the Connection you created.
Select the Repository that contains the code you want to build.
Discussion