惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
GbyAI
GbyAI
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
月光博客
月光博客
I
InfoQ
V
Visual Studio Blog
罗磊的独立博客
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
Jina AI
Jina AI
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
The Cloudflare Blog
小众软件
小众软件
雷峰网
雷峰网
V
V2EX
人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog

Butler's Log

Figma agent vs. one button: shipping design tokens to npm Local Model Performance on an M5 Max GitButler 0.22 - "Catch 22" Agentic Version Control Benchmarks Grit: rewriting Git in Rust with agents Git Merge 2026 Agent-safe Git with GitButler We’ve raised $17M to build what comes after Git Announcing the GitButler CLI for Linux The Great CSS Expansion A couple of git nits Simplifying Git by Using GitButler Introducing the GitButler CLI GitButler 0.19 - "Commander Keen" But Head: Crafting a Custom Font MCP vs RAG: Two Very Different Ways to Gain Context Getting Started With GitButler Agents Using the GitButler MCP Server to Build Better AI-Driven Git Workflows Using GitButler With Multiple GitHub Accounts Advent of Code! Upcoming GitButler Events Use GitButler for your Gerrit workflow Butler Flow: shipping code faster (but less like Alfred, more like CI on steroids) - Part 3 Butler Flow: shipping code faster (but less like Alfred, more like CI on steroids) - Part 2 Butler Flow: shipping code faster (but less like Alfred, more like CI on steroids) - Part 1 Grid Happens: Because Flexbox Wasn’t Enough Using Cursor Hooks for automatic version control Deep Dive into the new Cursor Hooks A Responsive Item Counter with CSS only GitButler 0.16 - "Sweet Sixteen"
Integrating GitButler and GitHub Enterprise
Estib Vega · 2025-11-07 · via Butler's Log

GitButler with GitHub Enterprise means your hosted instance of GitHub becomes available inside the client.

Integrating GitButler and GitHub Enterprise

GitButler gives you a client-centric UI for working with your branches, tracking commits, opening pull requests, and so on. Using it together with GitHub Enterprise means your team’s hosted instance of GitHub becomes available inside the GitButler client for pull-request and branch collaboration workflows.

For an enterprise environment this means you can connect the GitButler client to your on-prem (or private cloud) GitHub Enterprise API endpoint, and then use GitButler to open PRs, monitor branch status, and keep your dev workflow more graphical and streamlined.

Before you begin:

  • You need an installation of GitButler on your dev machine and access to your team’s GitHub Enterprise instance.
  • In GitHub Enterprise you must have enough permissions to create a Personal Access Token (PAT)
  • Know the base API URL for your GitHub Enterprise – e.g. https://github.mycompany.com/api/v3 (or whatever your admin has configured) as described in the docs.
  • Ensure network connectivity between your client machine and the GitHub Enterprise host (if behind VPN or corporate firewall).
  1. Launch GitButler and go to your user settings.

    • In the sidebar click your profile button
    • Go to the Integrations tab
    • Click Add Account for GitHub.
  2. Choose the GitHub Enterprise option.

    • In the “Base URL” field enter something like: https://github.mycompany.com/api/v3 (using your actual host information)
    • In the “Token” field paste the PAT you created in GitHub Enterprise with the required scopes (read metadata, read & write pull requests)
  3. After entering the details commit or click OK. GitButler will attempt to connect to that API host and authenticate using the token. Once successful you should see your GitHub Enterprise username listed in the integrations tab.

  4. Once integration is active you may remove/forget accounts via the “Forget” button next to the account name in the integrations list. This helps when you want to disconnect or re-connect with a different GitHub Enterprise instance.

  5. Verify the integration is working by viewing your repository list in GitButler or trying to open a Pull Request from a branch.

Once you’ve got the integration set up you can use GitButler like you would with GitHub but in your enterprise context. Some key features include:

  • When you create a new branch in GitButler or commit changes, GitButler will check if there are any associated pull requests on GitHub Enterprise.
  • On the Branches page in the sidebar there is a Pull Requests tab where you can view PRs for your branches.
  • You can open the PR UI directly from the branch in GitButler: select your branch, hit “Create Pull Request” (or similar) which will push the branch upstream and open the PR on GitHub Enterprise.
  • You continue to use GitButler’s branch/stash/virtual-branch support while leveraging the GitHub Enterprise remote as your central repository. This gives you the flexibility to keep working locally, push when ready, raise your PR and move on.
  • Token scopes: Ensure your PAT has the correct scopes. For GitHub integration you need read access to metadata and read & write access to pull requests. If your org has stricter permissions you may need to work with your GitHub Enterprise admin.
  • Base URL correctness: For GitHub Enterprise you must supply the correct API path. A wrong URL will cause authentication/connection failure.
  • Enterprise version differences – If your GitHub Enterprise is a self-hosted older version, some newer endpoints may behave differently. Test basic operations (e.g., open PR, list repos) to verify.
  • Audit and logging – Since you are using an enterprise instance you may want to check with your security/compliance team that using external clients like GitButler is within policy.
  • Multiple accounts – GitButler allows you to connect multiple GitHub accounts (including multiple enterprise instances) and pick which one to use per project. This is useful if you work across different orgs or enterprise tenants.

For information, checkout the GitButler Docs!

Estib Vega

Written by Estib Vega

Full-Stack Engineer. Using TypeScript and Rust @ GitButler

Table of Contents

  • Prerequisites
  • Step-by-step: Setting up GitHub Enterprise integration in GitButler
  • Using GitButler with GitHub Enterprise for branch & PR workflows
  • Tips for enterprise use