If you do not already have SourceTree you can download it at https://www.sourcetreeapp.com/.
Once you install the SourceTree software log on to UConn’s central Git repository https://stash.uconn.edu/projects
Step-by-step guide
Getting Starting with Git and SourceTree
Click on the Kuali Financial System link
then the dbscripts link
Click on the Clone link under the ACTIONS heading on the left side of the page this will display a dialog box with a “Clone In SourceTree” option. This is a one time procedure that will create a local copy of the repository and link it to the main dbscripts repository.
Click on the Clone In SourceTree button it will let you specify where your local repository will be located. When you decide click Clone. This will clone the repository and open SourceTree on your workstation.
In SourceTree click on the Branch icon on the menu bar
- In the New Branch area enter the name of your branch (please include your net-id in the name) and click Create Branch. The branch name will appear under the Branches heading on the left.
- Double click on the branch name. This is now your working branch you will create all your scripts here. Please note that the branch will not be noticeable in the directory structure, Git keeps track where you are working and keeps your branch isolated from the master repository.
- In the New Branch area enter the name of your branch (please include your net-id in the name) and click Create Branch. The branch name will appear under the Branches heading on the left.
Committing you scripts.
Info |
---|
It is critical that you save each script in the correct directory. You should save scripts to run in the KFS schema in the kfs-scripts directory and likewise scripts for the Rice(KR) schema in the kr-scripts directory. After testing you can commit your scripts to the Git repository as follows: |
...