Suppose we have a remote and local branch called foo. To delete it locally, just run:
1
| |
You can verify that it has been deleted by listing your local branches. To do that, run:
1
| |
To delete the remote branch run:
1
| |
To list all branches (including remotes) run:
1
| |