mgalgs / github-pr-fetch

Firefox extension to add a `git fetch` command to the GitHub pull request page, making it easy to fetch and check out pull requests locally without some nonsense `gh` utility, just plain ol' git.

Home Page:https://addons.mozilla.org/en-US/firefox/addon/github-pr-fetch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github PR Fetch

This is a simple Firefox extension that adds a git fetch command to GitHub pull request pages, making it easy to fetch and check out pull requests locally without some nonsense gh utility, just plain ol' git.

Installation

Get it on the Mozilla addons store:

https://addons.mozilla.org/en-US/firefox/addon/github-pr-fetch/

Screencast

github-pr-fetch-demo-2023-08-16.mp4

Development

If you'd like to hack on the extension, you can install it temporarily in your current Firefox session from source as follows:

  1. Clone this repository: git clone https://github.com/mgalgs/github-pr-fetch.git

  2. Open Firefox, and enter about:debugging in the URL bar.

  3. Click "This Firefox" (in newer versions of Firefox) or "Load Temporary Add-on" (in older versions).

  4. Open the github-pr-fetch/extension directory and select any file inside the directory.

The extension should now be temporarily installed, and you'll see it listed in your add-ons. Make any changes you'd like and then click Reload.

About

Firefox extension to add a `git fetch` command to the GitHub pull request page, making it easy to fetch and check out pull requests locally without some nonsense `gh` utility, just plain ol' git.

https://addons.mozilla.org/en-US/firefox/addon/github-pr-fetch/

License:MIT License


Languages

Language:JavaScript 98.0%Language:Makefile 2.0%