Remove branches merged into master

by Yuva, Co-founder

Run the following command to remove all tracking branches that are merged to master

git branch --merged master | sed /master/d | xargs -n 1 git branch -d

More articles

Protecting Your LLM Applications from Prompt Injection Attacks

Learn practical techniques to defend against prompt injection attacks in AI applications with simple code examples.

Read more

How to Read a Flame Graph in Chrome DevTools

A deep, practical guide to reading flame charts in Chrome DevTools, spotting expensive functions, and validating performance improvements.

Read more

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals