10 April, 2016

Using VSTS from SourceTree on a Mac

Using Visual Studio Team Services is a great joy. It is a seamless experience when on Windows, but does require one extra step when using it from a Mac. As is the case when using VSTS from XCode (see http://blog.clauskonrad.net/2016/03/using-visual-studio-team-services-git.html) you also here need to establish an alternative representation of yourself that can work as authentication.

Here is how to use the SourceTree application on a Mac against VSTS:

  1. Log into VSTS (website)
  2. Select your name (top right)
  3. Select My Profile
  4. Select Security
  5. Select Add
    image
  6. Copy the generated Token (it will show only once) into a text file on disk
  7. Open SourceTree
  8. Press Repositories
  9. Select Clone from Url
  10. Enter the SourceControl Endpoint (https://<nameofcollection>.visualstudio.com)
  11. When prompted for Username/password – enter the Token instead of your username
  12. Enter your normal password
  13. You are in!
Screen Shot 2016-04-08 at 10.27.01


Screen Shot 2016-04-08 at 10.23.49

1 comment:

Katy said...

Utilizing Visual Studio Team Services is an extraordinary satisfaction Field Service Lightning program. It is a consistent encounter when on Windows Sales Cloud Consultant, yet requires one additional progression when utilizing it from a Mac Developers. Just like the situation when utilizing VSTS from XCode, you additionally here need to set up an elective portrayal of yourself that can fill in as verification.

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...