...
Open SourceTree
Make sure your branch nameunder the BRANCHES heading is highlighted
Click on the Uncommitted changes line under the Description heading on the top of the page. You should see the file you created listed under the Unstagedfiles heading. The line with the icon indicates new files ready to be staged.
Click the box next to the file and it will migrate the Staged files section.
Click the Commit icon (top left of the page)
...
The scripts are now ready to be reviewed and staged for execution by the uconnScriptRunnerJob batch job.
Post Commit
...
Script approval - creating a pull request
After you commit your script in needs to be reviewed and approved before it is placed in the main repository where the script runner job can find and execute it on the database
- Right click on your branch name under the BRANCHES heading and then choose Create Pull Request.. from the dropdown menu
This will link to the UConn Stash site and open a Create Pull Request... page enter a brief description and the net-id of the approver and click the Create button.
Cleaning up
After you commit the scripts and create your pull request you can delete the JIRA specific branch.
- Double click on the master branch under the BRANCHES heading on the left menu bar.
- Click the Branch icon on the top menu bar and then the Delete Branches icon
- Check the box next to your branch (in this case it is kps-xxx_update and click the Delete Branches button.
- If you wish you can also delete the scripts you just created.
...