Delete your old branches that you always forget to remove when you're done!
➜ git branch | wc -l
325
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