How To Install Git-pr On Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS?

How To Install Git-pr On Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS?

git-pr

Check out GitHub pull requests locally.

Maintainer: Laszlo Boszormenyi (GCS)



Section: vcs

Install git-pr

  • Debian apt-get install git-extras Click to copy
  • Ubuntu apt-get install git-extras Click to copy
  • Kali Linux apt-get install git-extras Click to copy
  • Fedora dnf install git-extras Click to copy
  • Raspbian apt-get install git-extras Click to copy
  • macOS brew install git-extras Click to copy

Check out GitHub pull requests locally.

How to use git-pr?

Below are few example commands for git-pr that you can use in the terminal.

Check out a specific pull request:
git pr pr_numberClick to copy
Check out a pull request for a specific remote:
git pr pr_number remoteClick to copy
Check out a pull request from its URL:
git pr urlClick to copy
Clean up old pull request branches:
git pr cleanClick to copy
Installing git-pr command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of git-pr 2026 package in your OS.