Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 510 Bytes

File metadata and controls

12 lines (7 loc) · 510 Bytes

Git

Commands

Remove all local branches that have been merged git branch --merged | grep -v \* | xargs git branch -D

Best Practices

Resources

  • Dangit, Git!?! - Git is hard: messing up is easy, and figuring out how to fix your mistakes is impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.