Remote Branches

docker run -it gitforpragmatists/extras-remote-branches

How do I list remote branches?

git branch --verbose --remotes # can be abbreviated to git branch -vr

How do I delete a remote branch?

To delete remote branch run

git push --delete origin <BRANCH_NAME>

e.g.

$ git push --delete origin feature/some-work
To ../remote
 - [deleted]         feature/some-work

How do I…?

Is there something missing here? Let me know!