From bee3d5610cb57f7f4cf8e8d6bb78cf8713f9ea0d Mon Sep 17 00:00:00 2001 From: Gandalf Date: Thu, 11 Dec 2025 12:38:40 +0100 Subject: [PATCH] docs: Add Git workflow notes to CLAUDE.md Document project conventions: - Feature branches from develop, MRs target develop - Main branch synced periodically from develop - Issue linking format for MRs (Closes #123) - Separate MRs for separate topics --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 63517b861..45eb8a712 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,6 +5,12 @@ This project uses **gitlab.syncad.com**, NOT gitlab.com. - Repository: https://gitlab.syncad.com/hive/denser - Use `glab api "projects/hive%2Fdenser/..."` for API calls +## Git Workflow +- **Branching**: Feature branches from `develop`, MRs target `develop` +- **Main branch**: Periodically synced from `develop` (not direct commits) +- **Issue linking**: Always link issues in MR descriptions using `Closes #123` or `Fixes #123` +- **Separate MRs**: Create separate MRs for separate topics/issues + ## Package Management - Check `.gitlab-ci.yml` for current Node/pnpm versions - Example: `docker run --rm -v "$(pwd)":/app -w /app node: sh -c "corepack enable && pnpm install"` -- GitLab