Install SourceTree without an Atlassian account?

50,881

Solution 1

I don't think SourceTree allows to install without using an Atlassian Account. I've also tried and couldn't make it.

Have a look at Github Desktop, I think it allows not to configure an account https://desktop.github.com/

(I also prefer the UI from what I've seen - CLI still rules)

Edit: keep in mind that's easier for the students to google by themselves solutions to problems with git using the CLI than using UI apps

Solution 2

Updated 2020-11-27

Happy to see that SourceTree allow users to skip the login procedure in version 3.3.9.

For older versions:
SouceTree uses accounts.json file to store account settings.
It would skip the login process if there is an accounts.json file in your machine.
So you can copy the accounts.json file in %AppData%\Atlassian\SourceTree\ to any other machine to skip the login procedure.

Solution 3

Thanks to Mike for mentioning the version of SourceTree that did not require a login.

It's possible to install SourceTree v1.6.4 which does not require a login to an Atlassian acount.

How to install SourceTree v1.6.4 for Windows

How to install SourceTree v1.6.4 for Windows

This gist shows how to install SourceTree without having to login to an Atlassian account.

Later versions of SourceTree after v1.6.4 require a login to an Atlassian account.

Steps:

  • Install Chocolatey
  • Install SourceTree 1.6.4 using Chocolatey

Install Chocolatey

  • Run Windows Powershell as Administrator
  • Run the following command Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Install SourceTree Using Chocolatey

Run the following command within an administrative console/terminal/powershell.

choco install sourcetree --version 1.6.4

References

Solution 4

https://github.com/yike8/sourcetree-skip-bitbucket-registration

How to skip bitbucket registration when installing sourcetree?

The first step is to run SourceTreeSetup-3.1.3.exe and close it after popping up the registration interface.

The second step is to open the %LocalAppData%\Atlassian directory, find accounts.json and user.config, and replace them with the files I provided.

e.g.

%LocalAppData%\Atlassian\SourceTree\accounts.json

%LocalAppData%\Atlassian\SourceTree.exe_Url_iayhtc13zv3obzuz5vchezjs1az2q5ef\3.1.3.3158\user.config

Solution 5

Can confirm that SourceTree V 1.6.14.0 does NOT require an account... so this is why I hit never update for an old version on my other computer ;)

I am not 100% sure if that is the latest version that still has this feature, but works for my purposes.

Share:
50,881
MikeTheTall
Author by

MikeTheTall

Updated on June 08, 2021

Comments

  • MikeTheTall
    MikeTheTall almost 3 years

    I'm trying to use SourceTree for a class that I'm teaching. In order to do that we need to install SourceTree onto the school's Windows computers.

    When we try to install SourceTree (Version 1.9.10.0) it demands an Atlassian account before it will start. Obviously this is wrong - since we're trying to install SourceTree onto a shared computer (into a VM, to be specific) we don't have just one account (and, on top of that, we're using SourceTree with GitLab, not BitBucket/Atlassian, so we don't need their account anyways).

    Is it possible to install SourceTree but skip the 'create an Atlassian account' step during the install process?

    (We'd be ok with having the students create accounts later on, when they first start using it - we just don't want all the students to share a single BitBucket account by default)