Andr谩s T贸th‘s professional blog
banditoth.net

Hey there 馃憢, I’m banditoth a .NET MAUI developer from Hungary.
I write about software development with .NET technologies.

You can find me on:
LinkedIn | Github | StackOverflow | X / Twitter | Threads

Tag: sourcetree

  • Sourcetree + Azure DevOps error

    This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

    If you are facing the issue with Sourcetree, that you can not push to your Azure DevOps repository, because it fails with the following error:

    Pushing to https://bitfoxhungary.visualstudio.com/someProject/_git/someProject
    fatal: unable to access 'https://bitfoxhungary.visualstudio.com/someProject/_git/someProject/': The requested URL returned error: 403
    

    Copy the URL returned by the error, and browse it with a web browser.

    If needed, provide your login credentials in the browser, then try again.

  • SourceTree keeps asking for password on macOS

    This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

    If you are experiencing that the sourcetree is keeps asking for username and/or password when fetching, pushing, pulling, commiting to a repository, open up a terminal and execute the following command

    git config --global credential.helper osxkeychain
    

    This happened for me after installing a third party password manager, called LastPass.

  • Azure DevOps / VisualStudio.com hosted version controlling with SourceTree on MacOSX

    This content has 4 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

    If you want to access your Git based repository with SourceTree, you need to genereate a Personal Access Token for your account in DevOps. Follow the tutorial above:

    https://docs.microsoft.com/hu-hu/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&viewFallbackFrom=vsts&tabs=preview-page

    After you have done with setting up PAT, set up SourceTree on Mac:

    1. SourceTree > Preferences
    2. Accounts > Add…

    Enter your devops server url. ex: https://AnAwesomeCompany.visualstudio.com/
    As username, enter your e-mail address
    As password, paste your private access token
    Set the protocol to HTTPS.

    After the success configuration, you will see your remote repositories on the main screen of Remotes section.