GitHub Pull Request Fork to Fork is a browser extension that simplifies your workflow when working with forked repositories. It adds a new button to create pull requests that target your forked repository directly, ensuring you never mistakenly send pull requests to the original repository.
- Adds a button for creating pull requests targeting your forked repository.
- Automatically sets the target branch to the default branch of your fork.
- Keeps existing GitHub functionality intact.
- Reduces mistakes and streamlines your workflow.
- Download the extension from the Chrome Web Store (link coming soon).
- Click Add to Chrome and confirm the installation.
- Navigate to the forked repository where you want to create a pull request.
- Click the new button labeled Create Pull Request to Fork.
- The pull request will automatically target your fork's default branch.
Want to contribute? Here's how you can set up the project for local development:
-
Clone the repository:
git clone https://github.com/your-username/github-pull-request-fork-to-fork.git cd github-pull-request-fork-to-fork
-
Install dependencies:
pnpm install
-
Build the extension:
cd packages/chrome pnpm build
-
Load the extension in your browser:
- For Chrome: Load the dist directory as an unpacked extension.
Bug reports and feature requests are accepted via GitHub Issues. Pull requests are also welcome. While there are no specific rules set at the moment, rules may be added in the future.
This project is licensed under the MIT License.
- Google Chrome