Reputation: 1328
I'm new with git and I made a typo mistake in the remote branch name during my push.
git push remote/branch_with_typo_mistake.
Then a new branch was created on the remote server.
How can i completely remove this new non-wanted branch from the server ?
Upvotes: 0
Views: 102
Reputation: 174289
Use git push remote :branch_with_typo_mistake
.
Note the colon before the branch name.
Upvotes: 4