Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
GitHub PR Merge Method 预览

GitHub PR Merge Method 作者: Alexis LPZ

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

0(0 条评价)0(0 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在 github.com 的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
版本
1.0.1
大小
668.39 KB
上次更新
2 个月前 (2025年11月8日)
相关分类
  • 网页开发
许可证
MIT 许可证
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。