docs: clarify git branching workflow in CLAUDE.md
Branch from next-release for normal work, main only for hotfixes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
858663cd27
commit
c961ea0dea
@ -16,10 +16,15 @@ manticorum67/major-domo-discordapp
|
|||||||
There is NO DASH between "discord" and "app". Not `discord-app`, not `discordapp-v2`.
|
There is NO DASH between "discord" and "app". Not `discord-app`, not `discordapp-v2`.
|
||||||
|
|
||||||
### Git Workflow
|
### Git Workflow
|
||||||
NEVER commit directly to `main`. Always use feature branches:
|
NEVER commit directly to `main` or `next-release`. Always use feature branches.
|
||||||
|
|
||||||
|
**Branch from `next-release`** for normal work targeting the next release:
|
||||||
```bash
|
```bash
|
||||||
git checkout -b feature/name # or fix/name
|
git checkout -b feature/name origin/next-release # or fix/name, refactor/name
|
||||||
```
|
```
|
||||||
|
**Branch from `main`** only for urgent hotfixes that bypass the release cycle.
|
||||||
|
|
||||||
|
PRs go to `next-release` (staging), then `next-release → main` when releasing.
|
||||||
|
|
||||||
### Double Emoji in Embeds
|
### Double Emoji in Embeds
|
||||||
`EmbedTemplate.success/error/warning/info/loading()` auto-add emoji prefixes.
|
`EmbedTemplate.success/error/warning/info/loading()` auto-add emoji prefixes.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user