Integrating Bitbucket extension to Visual Studio 2015/2017

If you are using BitBucket Git repositories for hosting and managing your code, Visual Studio 2015 and Visual Studio 2017 has the extension to easily manage your files, directly from the Team Explorer view of the IDE.


In this post, we are going to get you started with the extension and see the main features that the extension supports.


Integrating Bitbucket extension to Visual Studio 2015/2017 (www.kunal-chowdhury.com)


Visual Studio Bitbucket Extension, which is available on Visual Studio Marketplace, is a plugin for Visual Studio to help you improve your productivity while working on Bitbucket as your Git repository. Currently, it supports Visual Studio 2015 and Visual Studio 2017.


This extension supports the following core features:

  • Create - You can create a git repository on Bitbucket.org and synchronize it with your local version.
  • Clone - This will list all existing Bitbucket repositories and allows you to clone it locally.
  • Publish - You can publish your local-only repositories to Bitbucket server.
  • Pull Requests - You can view all pull requests, create a new one, Approve/Disapprove pull requests, view files, commit changes and submit comments from pull request. You can also view Pull Request diff with syntax language highlighting.

Before starting with it, you need to know that the extension is not available by default in Visual Studio installation. You need to download it from the Visual Studio Marketplace. To download it:

  • Either open your browser and navigate to Visual Studio Marketplace at: https://marketplace.visualstudio.com/items?itemName=MistyK.VisualStudioBitbucketExtension and download the extension.

  • OR, you can open Visual Studio menu 'Tools | Extension and Updates...' and search for the 'bitbucket' extension, as shown below:Visual Studio Extensions and Updates
  • Select the 'Visual Studio Bitbucket Extension'and click 'Download'.

  • The following dialog window will popup. Select the product(s) that you want to install the extension to, and then click 'Install'.Install Bitbucket Extension
  • Once the installation completes successfully, close and restart all your open Visual Studio instances, for the changes to take effect.Bitbucket extension installed in Visual Studio
  • Once you reopen Visual Studio, switch on to 'Team Explorer' where you can see the extension added to it already.Bitbucket extension in Visual Studio Team Explorer
  • Click on the 'Login' link to connect to the Bitbucket server from Visual Studio Team Explorer. Then you will be allowed to perform the Git operations to your Bitbucket repositories, directly from Visual Studio.Login to Bitbucket account from Visual Studio Team Explorer

Was the post helpful? Which Git server do you use in your development environment? Do let us know.



Kunal Chowdhury
If you have come this far, it means that you liked what you are reading (Integrating Bitbucket extension to Visual Studio 2015/2017).

Why not reach little more and connect with me directly on Twitter, Facebook and LinkedIn. I would love to hear your thoughts and opinions.

Authored Books: