Branches
- master
- dev
- feature/[branch-name]
- bug/[branch-name]
- chore/[branch-name]
Branch | Purpose |
---|---|
master | Fully Functional Versions |
dev | Completed Mechanics / Content |
feature | New features/elements of the game |
bug | Changes addressing and fixing bugs |
chore | Changes related to project organization and workflow |
- Push all changes to your feature branch
- When a feature is complete, merge your branch into dev, delete your branch, and split a new branch (with the same name) off of dev
- When a version is complete and clean, merge dev into master
- Avoid changes the same files to facilitate easier merges
Updating a Remote Branch
- Checkout dev branch (git checkout dev)
- Pull remote changes (git pull dev)
- Checkout working branch (git checkout feature/xxx, git checkout bug/xxx, etc.)
- Merge dev into working branch (git merge develop)