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

From State to Edges: How LangGraph Connects the Dots

Explore LangGraph's Nodes and Edges, and learn how they shape intelligent and flexible AI workflows in JavaScript

Read more

Step One in RAG: Building Your First Knowledge Retrieval Pipeline

Learn how to build your first RAG pipeline by combining HuggingFace embeddings, Pinecone vector search, LangChain orchestration, and Perplexity-powered responses.

Read more

Ready to Build Something Amazing?

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