We want to add this new file as well as the changes made to our old files. Notice that selecting a file shows the changes that you made.įor macOS, you will notice how the file that previously existed is pre-selected, whereas the new file you added is not. You should then see All changed or “pending file changes” below. It is the line above your commit messages, and below the “description” header in the workspace). There should now be a new entry in the history WORKSPACE with the description “ Uncommitted changes” (it is hard to find at first. You should also add a new file in the repository directory and place some random text within it.Īfter making these changes, come back to the repo window in SourceTree. Go back to your text editor, and make some changes to the existing text file. The “Show in Finder” and “Terminal” buttons can be used to open the repo in the Finder or Terminal (‘Git-bash’ on windows) respectively. The “Commit” button is used to make commits. In the top bar, you should see some familiar buttons. Selecting a file shows the differences that occurred between commits. If you click on a commit, it will show the files that were effected down below. In the WORKSPACE, you can see each commit that has been made, along with the “commit author” and date of the commit. You should also be able to see your commit history in the main portion of the window. You should also see the repo in the right two-thirds of the sourcetree window. This should open an “Explorer” window, from which you need to navigate to the top level of your repository. Select the three dots to the right of the “Working Copy Path”. You should select the “Add Working Copy”. This will open a new window within sourcetree. New Repository” tab in the SourceTree Repository Browser window. To do this, select the “+” button from the bottom-left corner of the sourcetree app. Now that SourceTree is setup, lets add our existing Git Repo. This shows your “commit history” in the main WORKSPACE window. If it is not already selected, select “History” from the “WORKSPACE” sidebar on the left. To view the Repo, double click on it in the Repository Browser. This should create a new Repo in your Repository Browser Window labeled the name of your repository directory (120-work”). This should open a “Finder” window, from which you need to navigate to the top level of your repository. This will open a dropdown menu, from which you should select the “Add Existing Local Repository”. To do this, select the “+ New Repository” tab in the SourceTree Repository Browser window. You should also change the default “Project folder:” path to look at your /Document directory. In there you should enter your name and e-mail (just as we did in the PowerShell). You should then see the “Repository Browser” area on the left of the open window.įinally, open the SourceTree preferences ( control +, OR the gear icon on the bottom-right of the browser area). In there you should enter your name and e-mail (just as we did in the terminal). (If you do no see this window, go to the Window tab in SourceTree and select “Show Repository Browser”.)įinally, open the SourceTree preferences ( cmd +, OR the gear icon on the right of the window). You should then see the “Repository Browser” window, which will be empty for you. Select “-> I don’t want to use Mecurial”. You will then see a window saying “Murcurial not found”.
#Sourcetree app Pc
After finishing the setup window, PC users will be asked to “Load SSH Key?”.Skip the “Connect an account” setup page for the time being. After creating an account, go back to the Source Tree app and click the “Use an existing account” button. You will then select to follow the “Go to My Atlassian” to create an account. You must agree to the “Atlassian Customer Agreement”, and it is your choice about whether you want to provide them with “usage data”. On the first screen, select “I Agree”, and unselect “Help improve…”. on WindowsĪfter downloading the application, right click the application from the file explorer and select “run as administrator again”. When you open the app for the first time, you will be guided through an additional setup process. (NOTE: Please replace 341 with 120 in any image examples below.) Setting Up “SourceTree” on macOSĪfter downloading the application, simply drag it to your /Applications directory for macOS.
#Sourcetree app free
If you have already setup with the GitHub Desktop App, then feel free to skip this page. These are setup instructions, should you choose to do so.