How to delete a local or remote branch in Git
- Published on
- Separator
- •
- Reading time
- 1 min read
Deletes a local branch
Shorthand
Force a branch to be deleted even if it hasn’t been pushed or merged yet.
Delete all branches but keeping others like “develop”, “master”
Deletes a remote branch
Conclusion
Have fun and stay tuned for the next post. Thanks for reading 😉