Git 2 · Branches

Delete a remote branch

Remove a branch from the remote.

git push origin --delete feature/login

Caution: The branch disappears for everyone who uses the remote. Check that nobody needs it first.

Official Git 2 documentation

More branches commands

All branches commands · Git 2 cheatsheet

Was this page helpful?