Notes

Version control

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Git Delete Branch Local and Remote (Tested Commands)
Coding tips

Git Delete Branch Local and Remote (Tested Commands)

git branch -d name deletes the local branch, git push origin --delete name deletes the remote one. Tested errors, pruning stale branches, bulk clean-ups and how to undo a delete.

October 6, 2026 · 19 min read · 53 views

0%