Clint McMahon Clint McMahon Freelance Software Developer and Architect Minneapolis MN USA clintmcmahon@pm.me +1-612-314-5384 GitHub Mastodon Instagram
Clint McMahon
☁️ 78°F MSP
  • About
  • Services
  • Portfolio
  • Now
  • Blog
  • Photos
  • Contact
Blog / Tags

#git

1 post tagged git.

2026
https://clintmcmahon.com/blog/delete-all-local-branches

How do delete all local git branches except main and develop

February 10, 2026

Over time my git branches on my local machine get out of control. Here's the command to delete all your local git branches except main and develop.

#git
← All tags
© 2026 Clint McMahon
GitHub RSS Photos Projects Guestbook Webring Freelance developer in Minneapolis