You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/CLAUDE.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,10 @@ main → PR#55, main → PR#56 (wrong - parallel branches)
11
11
12
12
Only branch directly from main when explicitly starting independent work.
13
13
14
+
**When base PR merges:** Your branch's merge-base with main shifts automatically. The delta shown in your PR will only be your commits (base PR's commits are now in main). Merge conflicts can arise if main got other commits touching the same files.
15
+
16
+
**PR description:** Always note `**Stacked on:** <base-branch> (PR #N)` so reviewers understand the dependency.
17
+
14
18
## UNDERSTAND BRANCH CHAINS
15
19
16
20
**Run before starting work, committing, or opening PRs:**
Shows which branch you're on and what it's based on.
23
27
28
+
**Don't confuse local vs remote:** After rebasing locally, `origin/<branch>` shows the old history until you force-push. They're the same branch at different points in time.
29
+
24
30
## ALWAYS USE THE MAKEFILE
25
31
26
32
**Never run raw cargo/podman commands. Use make targets.**
0 commit comments