This page has instructions to install Sourcetree, free git client for Windows.
For other platforms, see:
Before you begin
You will need access to a git service, so first browse to a git service and login to create your account. Some common git services are:
- Tufts Services
- https://gitlab.tufts.edu (Exposed to the Internet)
- https://gitlab.it.tufts.edu (Only accessible from Tufts networks)
- External Cloud Services
Installing and Configuring SourceTree
- Download SourceTree from https://www.sourcetreeapp.com/
- SourceTree is only free if you create an Atlassian account. So create an account and login.
- Install Git. Do not install Mercurial.
- When prompted if you already have an ssh key, click No.
- Tools > Create or Import SSH Key
- RSA, 2048, click Generate.
- Wiggle Mouse in box
- Give your new key a unique name
- Copy Public Key
- Use a text editor, such as Notepad, to save the public key as
id_rsa_public.txt
- On the git service provider, go to your profile, and add your SSH Public Key. For convenience, screenshots are provided showing this on the Tufts Gitlab server:
- Save Private Key
- Yes, save without a password.
- Save it as
id_rsa.ppk
- Conversions > Export openssh key
- Yes, save without a password.
- Save it as
id_rsa_private_openssh.txt
- Back in SourceTree, go to Tools > Options
- Enter Name, Email, OpenSSH, and
id_rsa_private_openssh.txt