Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 532 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 532 Bytes

git-trash

Delete your old branches that you always forget to remove when you're done!

Problem

➜ git branch | wc -l
      325

Solution

trash

By default the current branch along with the branches master, main, develop and development will be ignored. The current branch, master and main can never be trashed but you can customize other or additional branches to ignore by setting SKIP_BRANCHES.

➜ SKIP_BRANCHES="branch-1|feature/v3" git-trash