How to Delete a Git Branch Both Locally and Remotely

In most cases, it is simple to delete a Git branch. You'll learn how to delete a Git brach locally and remotely in this article. TL;DR version // delete branch locally git branch -d localBranchName // delete branch remotely git push origin --delete ...