Categories
Tips

How To Delete a Local and Remote Git Branch

To delete a local branch in Git.
git branch -D <branch_name>

To delete a remote branch in Git.
git push origin --delete <branch_name>