Jan 26, 2017 I just rebuilt my laptop and iMac with clean installs of MacOS Sierra. I normally use the command line git client to work with GitHub or BitBucket. I'm on a new project where I have to collaborate with some people on Windows and suggested they use SourceTree, and wanted to re-install SourceTree on m. Recently, I updated to Mac OSX 10.13.2 (High Sierra). I updated SourceTree to 2.7 (150). While pushing to the repo, I received all these errors. Sourcetree for macOS not only provides the same at-a-glance information about the most recent status and runs in your commit graph, but it also allows you to peek into details for any of the runs associated with that commit. You only need to visit Bitbucket Cloud to dive into the specific logs for a run, and even that’s just a simple click away. The goal of this article is to guide users to generate and load SSH keys into SourceTree using PuTTY. To generate an SSH Key, select Tools Create or Import SSH Keys. This window should pop up: 2. Click Generate, and move the mouse randomly until a key is generated: 3. A public key and a private key should appear.
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.
Command Line
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.
SourceTree
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 git@gitlab.sandia.gov: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.
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 git@gitlab.sandia.gov: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.
In How to use GitHub Desktop to manage your code, I covered the usage of GitHub Desktop, Code Management GUI tool. Atlassian has a similar GUI tool called SourceTree. You can use SourceTree on Atlassian’s code management tool called Bitbucket. Or you can use on GitHub as well. In the post, let’s walkthrough on managing your repository using Atlassian SourceTree and Bitbucket on macOS Catalina.
Sourcetree Osx Free
Create Atlassian’s Account
If you have not created Atlassian’s account, go ahead and create one first before we dive into downloading and installing SourceTree app.
Sourcetree Osx Download
You can create an Atlassian account from: https://www.atlassian.com/
Create Repository on Bitbucket
Bitbucket is one of the Atlassian’s services where you can create repositories and manage your projects/codes.
Once you have Atlassian’s account, go to https://bitbucket.org/dashboard/overview and create a repository.
Download and Install SourceTree App
Next, you need to download and install the SourceTree app on your system.
Download the SourceTree installer from: https://www.sourcetreeapp.com/
After you have dowloaded the SourceTree app, install on your system.
Follow the instruction to register your account, select Bitbucket Cloud.
Sync your Remote Repository with Local Location
Select Remote
and Click Clone
next to the repository you created.
Select the local location where you want to sync your remote repository.
Click Clone.
Create a Sample File to Commit
Once repository is configured locally, try putting some file in the local location. For example, put README.txt
.
You will notice in the SourceTree, README.txt
file will appear.
To commit that file, tick on that file and click Commit
.
Make sure to add your comment. You can also tick the Push changes immediately to origin/master
this will commit and push at the same time.
Check your Bitbucket repository on your browser and you can see the file you pushed is on your repository.