Visual Studio 2013 and BitBucket
Visual Studio 2013 apparently has some nice slick Git integration.
However, after an hour of head-scratching with absolutely nothing making even the slightest bit of sense, I've only been able to create a local repository and despite cloning a remote bitbucket repository I simply cannot find a way to publish to my remote repository.
I've used TFS, Subversion, Perforce and just about everything else, but this is completely baffling, with no instructions and a completely un-intuitive user interface.
Any ideas anyone ?
Solution 1:
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.
- Add solution to Source Control
- Commit to local Git
- In the "Changes" area, click "Commits". This takes you to the dialog where you can publish to a Remote Repository.
- Enter the URL to your BitBucket repository (must already exist in BitBucket and must be empty) and click "Publish"
- Enter your BitBucket credentials when prompted. After the publish finishes you'll get a results message like this.
- Use the "Sync" button to update BitBucket with your local commits
Solution 2:
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.