Force Pull Request to Master Branch in VSTS

Login to VSTS. Navigate to the master branch for the project you want to force pull requests. Click on the ellipsis and select Branch policies. These are the settings I prefer. I like to have at least one reviewer, and our team size is small enough that it’s OK, maybe not best practices, for the…

How to Export Bitbucket Repositories to VSTS

Should be simple enough. Unfortunately I could not get the importer to work in VSTS. So here is what I did. Made sure I had the latest master branch and all remote branches I wanted to include. Change the origin. Open up Powershell, or your favorite command line tool. Run git remote set-url origin YOUR_VSTS_ORIGIN_URL. It…