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
2.**Test locally** - `gh pr checkout <number>`, run tests
106
+
3.**Switch to release branch** - `git checkout <release-branch>`
107
+
4.**Cherry-pick with authorship preserved**:
108
+
```bash
109
+
git cherry-pick -x <commit-sha>
110
+
```
111
+
The `-x` flag adds "(cherry picked from commit ...)" and preserves the original author.
112
+
113
+
5.**Add your changes** (tests, fixes, etc.) as separate commits
114
+
6.**When ready to release** - merge release branch to master. Include "Closes #xxx" in commit messages so PRs auto-close.
115
+
116
+
**Important**: Don't use `git merge --squash` locally - it loses the PR association. Either cherry-pick (preserves author) or merge via GitHub (`gh pr merge --squash`) which properly closes PRs and credits contributors.
0 commit comments