Sourcetree Installation Steps

To add your supply request file, do the following:

  • 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.
  • Installing the SourceTree application This page contains instructions for setting up SourceTree for the CDI Virtual Training, July 2016. Download.pdf (same slides as shown on this page) If you have difficulty with these instructions, we suggest you describe your problem as a comment on this page, for fastest response. (Anyone logged in can.

Alpha Installation Simple Installation. See the main page for simple installation instruction for the most recent versions of Ubuntu, macOS, and Windows. Manual Installation. You should try to use of of the packages we provide. If you want to modify something, or run Alpha on an older OS, you can follow these instructions.

  1. From your BitbucketStationSupplies in Bitbucket, click Source to open the source directory. Notice you only have one file, supplies.txt, in your directory.

    • A. Source page: Click the link to open this page.

    • B. Branch selection: Pick the branch you want to view.

    • C. More options button: Click to open a menu with more options, such as 'Add file'.

    • D. Source file area: View the directory of files in Bitbucket.

  2. From the Source page, click the More options button in the top right corner and select Add file from the menu. The More options button only appears after you have added at least one file to the repository. A page for creating the new file opens, as shown in the following image.

    • A. Branch with new file: Change if you want to add file to a different branch.

    • B. New file area: Add content for your new file here.

  3. Enter supplyrequest in the filename field.

  4. Select HTML from the Syntax mode list.

    Product Photo offers professional amazon product photography services to improve your Amazon listing and business revenue. Pricing starts at just $7/image. Covid-19 Update -Yes, we remain open and ready to serve your product photo needs. Amazon product photographer. Amazon Photos: Amazon Photos offers unlimited, full-resolution photo storage, plus 5 GB video storage for Prime members. All other customers get 5 GB photo and video storage. Securely store, print, and share your favorite photos from the Amazon Photos app. Keep your memories close at hand on devices like Fire TV, Echo Show, and Amazon Fire tablets.

  5. Add the following HTML code to the text area:

    We are requesting additional supplies. Please send us the following:



    • space ice cream

    • nerf darts

    • telescope light shield

  6. Click Commit. The Commit message field appears with the message: supplyrequest created online with Bitbucket.

  7. Click Commit under the message field.

If you want to access GitLab via SourceTree, you can connect it with an account profile now. Another method is to connect GitLab by using the clone function with SSH key.

What Will We Learn (Method 1)

  • Access GitLab with personal access token

What Will We Learn (Method 2)

Sourcetree
  • Create SSH key
  • Access GitLab via SourceTree with SSH key

Method 1: Connect with Remote (Account Profile)

Since SourceTree 3.0, it adds support for additional remote hosting services. They are GitHub Enterprise, Microsoft Visual Studio Team Services, and GitLab (Cloud, CE, EE).

Create Personal Access Token

To connect GitLab with Remote, personal access token is required for authentication. To create personal access token, login GitLab and go to Settings.

After that, select Access Tokens from the sidebar. You will create your personal access token here. Give access token a name. You are able to set an expiry date for your access token. By leaving it blank, access token will never expire. Next check the api and read_user checkbox, it is required for SourceTree to connect to GitLab remotely. Click on Create personal access token to complete the setup.

Next open up your SourceTree, click on Remote and click on Add an account.

Select GitLab as the hosting services, and choose HTTPS as the Preferred Protocol. Click on Refresh Personal Access Token.

You will be prompted to enter the username and password. After entering the username and password then press OK to continue.

Do take note that email address you used to login GitLab is not your username. If you do not know your username. Go to GitLab and click on the top right profile icon. The text after @ is your username. In this example, it would be aword-test.

Furthermore, the password is your personal access token code. It only shows you once you created your personal access token. Make sure save your personal access token code in a safe place.

Then you have completed the steps to connect GitLab with SourceTree. If you connect successfully, you will able to see your repositories in SourceTree.

Diagram

Install Sourcetree Mac

Method 2: Connect with SSH Key

This method is useful for users who are not using SourceTree 3.0 and above.

Cannot Install Sourcetree On Mac

What is SSH Key

The Secure Shell (SSH) key is based on the principle of Public-key cryptography. It is used as a way of authentication. By generating an SSH key pair, you will get a private key and a public key. You can image public key as a padlock. You can distribute it to any systems on the Internet. Private key is like a key of the padlock. You should keep the private key securely and avoid it from being compromised. To access any system with public key, you need to use the private key to authenticate yourself.

Create SSH Key

To create SSH key, you need to generate your own SSH key with SourceTree. Go to Tools and select Create or Import SSH Keys.

Sourcetree

Click on Generate to create SSH Key. Move your mouse cursor within the PuTTY Key Generator continuing to generate the SSH Key.

After SSH Key is generated, type your own Key passphrase for your SSH Key. Key passphrase is like a password to protect your SSH private key. Save your public key and private key for future use.

Add SSH Public Key to GitLab

To add your SSH Key to GitLab, you need to log into you GitLab account. Click on your profile icon on the top right corner, then select Settings. Click on SSH Keys on the side menu.

Copy your public key inside your PuTTY Key Generator, then paste it into GitLab. Click on Add Key to add your SSH Key into the GitLab.

Add SSH Private Key to SourceTree

To add private key to SourceTree, Click on Tools then click Launch SSH Agent…

You will find SSH Agent named as Pageant on the taskbar. Double click on Pageant.

Now click on Add Key. Add your private key which have been saved earlier.

Steps

Clone Repository to Access GitLab via SourceTree

Sourcetree Installation Steps 2019

Go into your projects in your GitLab. Copy the SSH URL.

Can't Install Sourcetree

In SourceTree, click on Clone. Paste the repository URL into Source Path. Click on Clone, you have successfully connected GitLab with SourceTree. Now you are able to pull and push your code to GitLab with SourceTree.