Dead branches
surlydev opened this issue Β· comments
There are some dead branches that could be removed, such as :-
bnb/add-brian
bnb/add-feross
bnb/add-kyle
bnb/add-thlorenz
bnb/add-yosh
revert-74-master
Also, the branches for the PR's I have raised this morning (after they have been merged).
Also: feel free to delete any dead branches! I have no attachment to them β€οΈ
Cleaned them up.
FYI the command was ... git push upstream :{old-branch-name}
Yes, the colon was required. Thanks to @AdmiringWorm on Twitch.
You may also delete multiple branches at the same time if you need that in the future.
git push upstream :{branch-1} :{branch-2} :{branch-3}
You may not need that now, but just letting you know.
You can also set up your repo to automatically delete branches after merging a PR: https://help.github.com/en/github/administering-a-repository/managing-the-automatic-deletion-of-branches
@ChaelCodes I've turned that on π
Yay! I'm glad you liked the suggestion.