Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can lazygit help me clean up my branches?

Our GitHub is set to delete a branch whenever we squash merge it in a PR. But for the life of me I cannot get my local version to cleanup too. All the stack overflow popular answers that use sed and such fail for some reason.



git-flow has worked well in this regard for me.


git remote prune origin ?


git trim?


If you meant this: https://github.com/foriequal0/git-trim

Thank you! Didn't know about it and it solves the problem I'm having.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: