This is one of many up comming blogs about ways to setup your local workstation. We will be setting up SourceTree to track our development changes within a repository that we may be collaborating on.
The SourceTree website explains this amazing tool the best:
"Visualize your work and push with confidence. Stage and discard changes by the file, hunk or line."
Taking a Step BackThe backstory and significance in a nutshell:
Let's say you and some friends want to develop an application together remotely, how do you ensure that process goes smoothly, let alone is organized? That's where Git comes in, making this process achievable without a mess, well... so much that you use the right commands and understand what the Software Development Life Cycle is!
Starting with the commands, let me assure you that it is dawnting using the terminal to issue git commands, even with some experience. The last thing you want is to push your unfinished changes to the master branch (your do not touch until absolutely perfect code) instead of stashing your local changes like you intended. Also, its very nerve wrecking to make a mistake and attempt to figure out how to revert your changes under all of the various development stresses. Don't get me wrong, MANY people use git via the terminal, and I do on a daily basis as well. However, there is a painless optional tool that simplifies our problems even more, and that's SourceTree.
SourceTree tracks my code changes close to realtime (depending on how my computer is feeling that day), indicating all the changes that I have made. In short, (from what I can tell) SourceTree allows you to do everything you do with Git within a clean user interface. It's a tool that I use daily that has saved my life in many critical situations and does increase my development speed.
Okay... Back to the hypothetical use case!
Visit SourceTree and click the download button and proceed with the application installation.
Setting Up Local Instance of A Repository
In this tutorial, I am assumming that you have code already on github, such as my simple node module on github called node-age
Open up SourceTree which will open up the following (with the expection of my previously created repository groups):
Click "+ New Repository", and then select "Clone from URL"
Enter the https clone link of the repository on github as the Source URL
Select the location that you would like the code to be on your local machine for the Destination Path
Lastly enter your project Name and click clone
SourceTree User Interface
Simple, Fast, and Clean! Why not make your life a little easier, especially when it comes to the critical steps in version control? I will leave it up to you to explore all the functionality of SourceTree!