Git Branching Workflow
This project uses version-based branches for each Minecraft version.
Branch format:
mc<VERSION>/<TYPE>/<NAME>Examples:
mc1.20.1/mainmc1.20.1/devmc1.20.1/feature/#72
Branch Types
| Branch Type | Purpose | Example |
|---|---|---|
main | Stable release code | mc1.20.1/main |
dev | Active development | mc1.20.1/dev |
feature/<name> | New features or experiments | mc1.20.1/feature/#72 |
Pull Requests
- Open feature PRs into the matching
mc<version>/devbranch. - For a release, open a PR from
mc<version>/devintomc<version>/main. - Merge features only through PRs.
Notes
- Use the
mc<version>prefix for all branches. - Use
--no-ffmerges for clear history. - Pull latest changes before creating or merging branches.