[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"/2026/01/25-delete-git-branches-by-days-ago":3},{"id":4,"title":5,"body":6,"date":51,"description":48,"extension":52,"meta":53,"navigation":54,"path":55,"robots":56,"seo":57,"stem":58,"__hash__":59},"posts/2026/01/25 delete-Git-branches-by-days-ago.md","25 Delete Git Branches By Days Ago",{"type":7,"value":8,"toc":47},"minimark",[9,18,25,28,31,33],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"delete-git-branches-by-days-ago","Delete Git Branches by Days Ago",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 9/5/2024.",[26,27],"br",{},[22,29,30],{},"Often my branches piled up and I need a way to automatically delete them based on how many days ago. I can't find an easy way online, so I ended up writing my own scripts in PowerShell and Bash. In this repo, I have the script to clean up branches that are 90 days or older based on last committed date.",[26,32],{},[22,34,35,36],{},"Repo: ",[37,38,41],"span",{"className":39},[40],"text-blue-600",[42,43,44],"a",{"href":44,"rel":45},"https://github.com/nik-yo/DeleteGitBranchesByDaysAgo",[46],"nofollow",{"title":48,"searchDepth":49,"depth":49,"links":50},"",2,[],"2026-01-25T00:00:00.000Z","md",{},true,"/2026/01/25-delete-git-branches-by-days-ago",null,{"title":5,"description":48},"2026/01/25 delete-Git-branches-by-days-ago","jx9drRZIRhZqUwgzuRTRtsH0dmap7Hy7OGpCU7IWpjA",1785167451688]