mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
docs: add external PR authorship rule to CLAUDE.md
This commit is contained in:
parent
a7760e2f2a
commit
186b672fdc
1 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ git push origin main
|
|||
```
|
||||
|
||||
### Handling external PRs
|
||||
- NEVER rewrite a contributor's changes on your own branch. Always merge THEIR branch
|
||||
- Add your improvements as separate commits on top of their branch, not as replacements
|
||||
- This preserves their authorship in git history so GitHub shows them as a contributor
|
||||
```bash
|
||||
gh pr checkout <number> # checkout PR locally
|
||||
npx vitest run # test their code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue