From 986af75ce5f0b06503bbb5fe8e817d5df1fc16de Mon Sep 17 00:00:00 2001 From: Oleg Samarin Date: Thu, 9 Apr 2026 14:09:24 +0300 Subject: [PATCH] Added Git workflow section to CLAUDE.md Document fork-based workflow: push to origin branch, open PR to upstream. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 610f49d1..c3c122bf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -176,3 +176,12 @@ After any action the originating `ClaudeSessionTab` is re-activated automaticall 7. **Offer to install the new plugin version** and verify the bug is fixed 8. **On successful fix — commit** all changed files, including Python tests and `to-do.md` if the bug was tracked there + +## Git Workflow + +- `origin` — personal fork +- `upstream` — org repo (`nbclaudecodegui/NetbeansClaudeCodeGui`) + +**Never push directly to upstream.** Always: +1. Push to a new branch in `origin` +2. Open a PR from that branch into `upstream/main`