Bitbucket offers both commercial plans and free accounts with an unlimited number of private repositories. In this post, we will push our code to the created repository in Bitbucket using Visual Studio. I hope, you already have the Bitbucket repository created.
Open Atlassian Settings. Open the command palette (macOS: Command + Shift + P; Windows: Ctrl + Shift + P), search for Atlassian: Open Settings, and hit Enter. Open the Bitbucket tab, then open the Authentication section if it's not visible. Click Add Custom Bitbucket Site.
John's statement that "you need Team Foundation Server" to work with BitBucket is not correct.
I just published a project to BitBucket from Visual Studio 2013 (preview version). Here's how.
Well, it's actually pretty easy to use GIT on MSVS 2013. You should be able to find a Clone button from the Team Explorer. Simply click on it and it will let you clone from any URL which means you can put Bitbucket link over there too.
And once it's synced, you are good to go.
Visual Studio 2013's "slick Git integration" requires Team Explorer, which means you need Team Foundation Server. To enable it, open your solution, go to Tools -> Options -> Source Control -> Microsoft Git Provider.
You may be better off getting the Git Source Control Provider plug-in. See this answer on how to install this plug-in for Visual Studio 2013: https://stackoverflow.com/a/18882284/1040437
Also, considering the power of the git command line, I do not think, based on the screenshots I have seen using it, the integration is all that slick. It seems rigid, and as somebody has already commented, you may be better off using TortoiseGit. Anyone who has used TortoiseSVN on your team will instantly find it familiar. Some of my coworkers use the command line, and they are divided between Git Bash and Posh-Git.
My main gripe with the Visual Studio integration is it only supports one workflow. Take a look at how toolchains like Atlassian's Stash support multiple different development workflows and how Stash changes depending on your git workflow. This is a more intelligent way to design IDE-like features around git source control repository.
Our particular workflow set-up at work is especially resistant to the "common scenario" in modern SaaS development, where you have one main line of development and no cherrypicking/rebasing ever, because you always march forward and upgrade everyone to the latest code. We currently have 7 lines of development...
That said, I have found this article via googling "Visual Studio 2013 git": http://msdn.microsoft.com/en-us/library/vstudio/hh850437(v=vs.120).aspx
Found this step by step tutorial on the answers.atlassian.com helpful (FOR VS2015 and git bitbucket.org)
source: https://answers.atlassian.com/questions/39574410/bit-bucket-and-visual-studio-2015
There is an extension to do it now - Visual Studio Bitbucket Extension https://visualstudiogallery.msdn.microsoft.com/6f8954a6-2358-4f4a-b69b-e51199935fad
This extension was submitted to devpost contest where you can find screenshots. http://devpost.com/software/bitbucket-extension-for-visual-studio
When installing visual studio there is an option to include GitHub extensions. This extension is a counterpart for Bitbucket. It allows you to Create/Clone/Publish Bitbucket Git repositories in a very simple way. Once you login you can create new repository and publish it to Bitbucket. If you have existing bitbucket repositories you can list them and choose which one you want to clone. In addition you get access to pull requests from actual repository. You can create new pull requests, approve/disapprove them and also view details like files changed, commits and comments.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With