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: docs/docs/development/github.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,7 +308,7 @@ Use the UI method only if reviewers are done—every push re‑triggers CI.
308
308
309
309
**Verify GitHub CI status checks**
310
310
311
-
Before requesting review, confirm that **all** required status checks on the PR page are green ("All checks have passed"). You should now see something like:
311
+
Before requesting review, confirm that **all** required status checks on the PR page are green ✅ ("All checks have passed"). You should now see something like:
312
312
313
313
```text
314
314
Bandit / bandit (pull_request) ✅ Successful in 21s
@@ -335,13 +335,17 @@ If **any** of the above steps fail after the PR is merged or cannot deploy, leav
335
335
---
336
336
337
337
## 9. Cleaning Up Locally
338
-
338
+
After the PR is merged:
339
+
* Switch back to the main branch
340
+
* Delete the local feature branch
341
+
* Prune deleted remote branches
339
342
```bash
340
343
git switch main
341
-
git branch -D pr-29 # or the feature branch name
344
+
git branch -D pr-29 # or the feature branch name (replace pr-29 with your branch name)
342
345
git fetch -p # prune remotes that GitHub deleted
343
346
```
344
-
347
+
This removes references to remote branches that GitHub deleted after the merge.
348
+
This keeps your local environment clean and up to date.
0 commit comments