Skip to content

docs(claude): update the default branch after a PR merges, before branching - #407

Merged
KaiSchwarz-cnic merged 1 commit into
masterfrom
RSRMID-3119-branch-after-merge
Oct 14, 2026
Merged

KaiSchwarz-cnic merged 1 commit into
masterfrom
RSRMID-3119-branch-after-merge

Conversation

@KaiSchwarz-cnic

@KaiSchwarz-cnic KaiSchwarz-cnic commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Jira: RSRMID-3119

The branch-creation rule in CLAUDE.md only said to pull before git checkout -b. Now it covers two more cases:

  • After a PR merges: the local default branch lacks the merged commits and the release tags until it is pulled.
  • Branching from origin/<default>: that makes it the new branch's upstream, so a bare git pull pulls the default branch and the local one stays stale.

The bullet names this repository's own default branch. Documentation only (docs), no release.

🤖 Generated with Claude Code

…nching

The branch-creation rule only said to pull before `git checkout -b`. After a
merge the local default branch lacks the merged commits and the release tags,
and branching from origin/<default> instead makes that the new branch's
upstream. The rule now covers both and names the repository's own default
branch.

Refs: RSRMID-3119
@KaiSchwarz-cnic
KaiSchwarz-cnic merged commit f733563 into master Oct 14, 2026
5 checks passed
@KaiSchwarz-cnic
KaiSchwarz-cnic deleted the RSRMID-3119-branch-after-merge branch October 14, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant