SQLiteCpp Git Branching
When to create a branch
- User mentions working on a task, issue, or feature.
- User references a GitHub issue number.
Before starting work
- Run
git statusto check current branch. - If on
masteror wrong branch, create a task-specific branch frommaster.
Create the branch before the first edit. If edits were accidentally made on master, create the task
branch with the working tree intact before continuing.
Branch naming
- With issue:
<issue>-<type>-<short-description>123-fix-short-description123-feature-short-description
- Without issue:
<type>-<short-description>fix-short-descriptionfeature-short-description
- Issue ID is optional; do not use a
000-prefix.
Maintenance branch conventions
- Updating the bundled SQLite3:
update-sqlite-X.Y.Z(e.g.update-sqlite-3.52.2). See [[sqlitecpp-update-sqlite]]. - Cutting a release:
release-X.Y.Z. See [[sqlitecpp-release]].
Branch-only requests
- If the user only requests a branch, create it and stop (no file changes).