Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of GitHub PR Merge Method

GitHub PR Merge Method by Alexis LPZ

Set the merge method to your default method when loading the main page of a GitHub pull request.

0 (0 reviews)0 (0 reviews)
No UsersNo Users
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Automatically select the correct merge method (squash/merge/rebase) for your GitHub pull requests based on custom rules.

Never Use the Wrong Merge Method Again

Tired of accidentally using the wrong merge strategy on GitHub pull requests? This extension automatically selects your preferred merge method (Squash, Merge, or Rebase) based on rules you define for each repository and branch.

WHY YOU NEED THIS

GitHub doesn't let you set default merge methods per branch or repository. This leads to common mistakes:
• Accidentally squashing when you meant to preserve commit history
• Using merge commits when you wanted a clean, squashed commit
• Forgetting your team's merge conventions for different branches

This extension solves all of that automatically.

KEY FEATURES

✨ Automatic Selection - Opens any GitHub PR? Your preferred merge method is already selected
🎯 Rule-Based - Set different methods for different repos and branches
💾 Import/Export - Backup your rules or share them with your team
🔒 100% Private - All data stays in your browser, nothing is sent anywhere
⚡ Lightweight - No impact on your browsing speed

HOW IT WORKS
  1. Define your rules: "For repository X, branch Y, use method Z"
  2. Open any GitHub pull request
  3. The correct merge method is automatically selected
  4. Review and merge with confidence

That's it. No more mistakes.

REAL-WORLD EXAMPLES

Example 1: Clean Main Branch
• All PRs to "main" → Squash (one clean commit per feature)
• Keeps your main branch history readable

Example 2: Preserve Release History
• PRs to "release/*" branches → Merge (keep full commit history)
• Perfect for audit trails and debugging

Example 3: Linear Development
• PRs to "develop" → Rebase (clean, linear history)
• Makes git history easier to follow

SETUP IN 30 SECONDS
  1. Click the extension icon
  2. Add a rule (e.g., "facebook/react" + "main" = "squash")
  3. Visit any PR to that branch
  4. Watch it work ✨

IMPORT & EXPORT YOUR RULES

Created the perfect rule set? Export it as JSON and:
• Back it up for safekeeping
• Share it with your team
• Sync across multiple computers
• Use it as a template for new projects

YOUR PRIVACY MATTERS

🔒 Zero data collection - We don't track, store, or transmit anything
🔒 Local storage only - Rules stay in your browser
🔒 No account needed - Works completely offline

We literally cannot see your data - and that's by design.

PERMISSIONS EXPLAINED

• Storage: Saves your rules locally in your browser
• GitHub Access: Reads PR pages to automatically select merge methods

That's it. No hidden permissions, no surprises.

FREQUENTLY ASKED QUESTIONS

Q: Does this work with GitHub Enterprise?
A: Yes! Works on any GitHub PR page.

Q: Can I use wildcards for repositories or branches?
A: Not yet - currently requires exact repository and branch names.

Q: What happens if I don't have a rule for a PR?
A: The extension does nothing - GitHub's default selection remains.

Q: Can I have multiple rules for the same repository?
A: Yes! Each repository can have different rules for different branches.

Q: Is this free?
A: Yes, completely free with no ads or upsells.

Perfect for solo developers, teams, open source maintainers, and anyone who's ever clicked the wrong merge button.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for github.com

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
Version
1.0.1
Size
668.39 KB
Last updated
2 months ago (Nov 8, 2025)
Related Categories
  • Web Development
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.