If you are using BitBucket Git repositories for hosting and managing your code, Visual Studio 2015, Visual Studio 2017, and Visual Studio 2019 have 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, Visual Studio 2017, and Visual Studio 2019.

 

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 them locally.
  • Publish - You can publish your local-only repositories to the 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 the pull requests. 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:

Visual Studio Extensions and Updates

 

 

  • Select the 'Visual Studio Bitbucket Extension'and click 'Download'.

  • The following dialog window will pop up. 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.

 

Have a question? Or, a comment? Let's Discuss it below...

dhgate

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.