Creare's Git workflow is designed to enable version control for all web projects and to work within our web development framework.
A daily workflow has been put together that encourages frequent commits and daily merging when working on new features:
- Pull from staging at the start of the work day
- Never work directly on staging or master
- Files containing domain details are ignored
- The majority of core files are ignored
- Finished branches must be deleted
- Select a relevent .gitignore file for your project, rename it to .gitignore and stick it in the root directory of your project.
- Click the Server Name in MAMP Pro
- Click the Extended tab
- Open the revelent file from this repository and place the text within it the "Additional parameters for " field.
- Replace the phrase {PROD} with the staging domain.