Now sourcetree can access gitlab but you do not have any projects in Sourcetree yet. In order to download or upload code you need to have a project. This tutorial will show you how to get the base V-HAB project into sourcetree, the steps to get any other project into sourcetree are basically the same. Accordingly, can you use SourceTree with GitLab? There does not seem to be a way to set up a GitLab account within SourceTree, but if you just clone a remote repo it will use your SSH key correctly. Edit: After SourceTree 3.0 it is possible to add various non-Atlassian git accounts, including GitLab.Those are optional settings. Does SourceTree work with GitHub? Replace ided25519.pub with your filename. For example, use idrsa.pub for RSA. Sign in to GitLab. In the top right corner, select your avatar. Select Preferences.; From the left sidebar, select SSH Keys.; In the Key box, paste the contents of your public key. If you manually copied the key, make sure you copy the entire key, which starts with ssh-ed25519 or ssh-rsa, and may end with a comment.
Sourcetree Repository Not Found
There are several ways to get the VoroCrust source code. You can clone it from the repository using git or you may have received a .zip file containing the source code. If you do not have access to VoroCrust and would like to put in a request for it, please fill out the form on the Contact Us page. This guide walks through the steps to acquire VoroCrust using git.
There are generally two ways we might use git to clone VoroCrust. The most common way on *nix or OSX systems is via a command line terminal. On Windows systems there is an application from Atlassian called Sourcetree that is free and provides a nice GUI interface to Git.
Typically, on *nix and OSX systems you will clone VoroCrust using git via the command line in a terminal. See the Preferred Directory Structure guide for instructions on setting up the correct directory structure.
To clone VoroCrust into the prefererred directory structure you should do the following:
The directory structure you should see if these operations are successful should resemble what is shown in [Fig. 2].
Fig. 2: Example directory structure after VoroCrust is cloned.
If you prefer to use a GUI based tool to handle your git clone, there is a free-to-use application called SourceTree from Atlassian. It works on Windows and OSX.
To get VoroCrust using SourceTree you will first create the top-level directory that will contain all the VoroCrust sources. For example, you could create the directory VoroCrust in your home directory.
Next, you will open SourceTree and select New > Clone from URL. Enter the source URL [email protected]:vorocrust/vorocrust.git for VoroCrust and then make sure the directory is set to <your home dir>/VoroCrust/vorocrust and the Name field is also set to vorocrust.
[Fig 3] shows what the 'Clone a repository' dialog should look like.
Github Sourcetree Personal Access Token
Click the Clone button to clone the repository.
If everything succeeds, SourceTree should open a new window showing the cloned repository as shown in [Fig. 4].
And that's all there is to it! If you also would like to clone the vorocrust-data reposity you can clone it by doing these same steps but use [email protected]:vorocrust/vorocrust-data.git as the url and clone into a directory called vorocrust-data.
Once you have the VoroCrust sources, the next step is to configure and build.
Using Sourcetree With Gitlab
To add your supply request file, do the following:
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.
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.
Enter supplyrequest in the filename field.
Select HTML from the Syntax mode list.
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
Click Commit. The Commit message field appears with the message:
supplyrequest created online with Bitbucket.
Click Commit under the message field.