Executive Summary
git push -d <remote_name> <branchname> # Delete remote
git branch -d <branchname> # Delete local
Note: In most cases, <remote_name> will be origin.
Delete Local Branch
To delete the local branch, use one of the following:
git branch -d <branch_name>
git branch -D <branch_name>
- The
-doption…
Top comments (0)