SourceTree Portable

Download

  • You can download the portable SourceTree from here
  • Or you can create your own version by following these steps:
    1. Download the latest installer from here
    2. Open a cmd window, issue the following commands in this order
      1. SourceTreeSetup_1.9.6.1.exe /extract
      2. msiexec /a SourceTreeSetup_1.9.6.1.msi /qb TARGETDIR="%temp%\SourceTree"
      3. xcopy "%temp%\SourceTree" "C:\PortableApps\SourceTreePortable\App\SourceTree" /S /i
      4. rmdir "%temp%\SourceTree" /S
    3. You can find your portable SourceTree at C:\PortableApps\SourceTreePortable

SourceTree Portable

Setup

  • After the first launch of SourceTree.exe you should do the following steps
  • Check I agree, click Continue

SourceTree Portable

Setup

  • Log in with your Atlassian account
  • You can create a new account even with an existing Google-account, then your gmail-address will be your username

SourceTree Portable

Setup

  • Since we are using a GitLab repository instead of Atlassian's Bitbucket, you should click on the Skip Setup button here

SourceTree Portable

Setup

  • You should also skip creating global ignore list by choosing Cancel

SourceTree Portable

Setup

  • Skip connecting to Bitbucket repository
  • Cancel loading PuTTY SSH key

SourceTree Portable

Setup

  • If you face with this dialog, you should try to Browse already installed Git
  • If you cannot find it, choose the Download option

SourceTree Portable

Setup

  • You don't want to use Mercurial

SourceTree Portable

1st run

  • On SourceTree GUI select the Clone/New button in the top right corner of the window
  • Enter your repository address that you can find here as Source Path / URL
  • Supply an empty or non-existent folder as Destination Path

SourceTree Portable

1st run

  • Later you may have to enter your name and email-address which will be related to your commits