jcansdale / GitPullRequest

Git extension that opens PRs associated with the current branch
4 stars 2 forks source link

Add --all option to list pull requests a local or remote branch #6

Closed jcansdale closed 6 years ago

jcansdale commented 6 years ago

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).