The following command will list all pull requests with local or remote branches.
git pr --all
This is conceptually similar to git branch --all (which lists local and remote branches).
Pull requests without a local or remote branch won't be shows (e.g if a pull request has been closed and its associated branch deleted). In this case the only information we'd have about the pull request would be its number (which wouldn't be terribly useful).
The following command will list all pull requests with local or remote branches.
This is conceptually similar to
git branch --all
(which lists local and remote branches).Pull requests without a local or remote branch won't be shows (e.g if a pull request has been closed and its associated branch deleted). In this case the only information we'd have about the pull request would be its number (which wouldn't be terribly useful).