Skip to content

Commit 51300bb

Browse files
authored
Merge pull request #43 from MohanLaksh/main
Documentation Update
2 parents ed17378 + e2f839c commit 51300bb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/docs/development/github.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Use the UI method only if reviewers are done—every push re‑triggers CI.
308308

309309
**Verify GitHub CI status checks**
310310

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:
312312

313313
```text
314314
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
335335
---
336336

337337
## 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
339342
```bash
340343
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)
342345
git fetch -p # prune remotes that GitHub deleted
343346
```
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.
345349
---
346350

347351
## 10. Handy Git Aliases (Optional)
@@ -353,8 +357,8 @@ git config --global alias.ca 'commit --amend -s'
353357
git config --global alias.rb "rebase -i --autosquash"
354358
git config --global alias.pr '!f() { git fetch upstream pull/$1/head:pr-$1 && git switch pr-$1; }; f'
355359
```
356-
357-
Now `git pr 42` does the whole fetch‑and‑switch in one go.
360+
Now you can run `git pr 42` to fetch-and-switch to PR #42 in one go.
361+
These aliases are optional, but they save time and make Git commands easier to type.
358362

359363
---
360364

0 commit comments

Comments
 (0)