A demo github repository to show Carto Development team the benefits of Git / Stash
##The process of using git and stash/github
###Pre-requisites:
- Git installed (from the appportal or [https://git-scm.com/downloads]
- An account on Stash (Heat Ticket) or Github (Free - there is also an ordnance survey account)
- Create or select a repository
- Pull the repository (if using an existing repo)
- Change to or create a new branch (subject to the teams git protocol)
- Check the status of the repository (to ensure it is in the expected state)
- Make changes to a file
- Add the unstaged changes to the git staging area (little and often)
- Check the status of the repository (to ensure it is in the expected state)
- Commit the changes to the local repository (with a relevant brief message - as per the git and teams protocol)
- Repeat steps 4-7 until all required changes are have been made
- Check the status of the repository (to ensure it is in the expected state)
- Push the changes to the remote repo (or merge dependant on team git protocol)
##Resources:
- Git tutorial - [https://try.github.io]
- Github (repository host) - [https://github.com]