Is there anyway to support Microsoft's Cloud Based Team Foundation Service with them as a GIT provider

don burnett August 5, 2014

Here's my normal method for supporting their GIT based repository on a non-Microsoft system.. Can I do a similar thing with Source Tree. I do a lot of code sharing.. Note my client doesn't used stash. I am using Source Tree with Xamarin and Visual Studio online..

  1. First of all, create a hosted TFS account and added a New Team Project + Git

  2. Create alternative login credentials since you cannot have an @ symbol in your login info. Follow the Create Team Project and Enable alternative Credentials instructionshere

  3. After enabling the alternative credentials open Xamarin Studio and my solution file open as well.

  4. Under the Version Control menu item select Publish (Only available with solution file open)

  5. Select the Registered Repositiories tab and select Add

  6. Enter an appropriate name. Select https protocol.

  7. Enter your hosted TFS URL ie. xxx.visualstudio.com.

  8. For port, enter 443.

  9. The path will be: /DefaultCollection/_git/ + project name (exactly as you typed it including spaces)

  10. User will be the alternative username you created in step 2. Click OK on both open windows.

  11. You will be prompted to confirm publishing. Select OK.

  12. You will then be prompted for your password. Enter you alternative password you created in step 2. If you accidentally enter the wrong password here, you must delete the entry from your key chain. Instructions can be found here

https://www.visualstudio.com/

1 answer

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2014

The way to test this:

  1. Open SourceTree.
  2. Press the "Add Repository" button in the lower left of the Bookmarks part (white background, CTRL+B makes it appear if not there).
  3. Switch to the "Add working copy" tab.
  4. Browse to the folder containing your code and add it as a bookmark.
  5. Check if you can browse the history and commit/push/pull with SourceTree

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events