GitHub, GitLab, and Self-Hosted Support
What you can do
Section titled “What you can do”JAC Harness works with GitHub and GitLab through features of the App itself (the Issues Pane) and features of the bundled skills. The App and the skills decide which service to use in different ways.
The following table shows how each feature is handled for each host of the worktree’s origin. “Judged by sign-in state” in the table means deciding between GitHub and GitLab from the sign-in state of gh and glab. The judgment is explained later under “Skills”.
| Feature | github.com | gitlab.com | Self-hosted server whose host name contains github / gitlab |
Self-hosted server whose host name does not contain github / gitlab |
|---|---|---|---|---|
| Issues Pane (App) | The button appears, and gh is used | The button appears, and glab is used | The button appears. Treated as GitHub if the name contains github, and as GitLab if it contains gitlab |
The button does not appear |
Loading and creating Issues (load-issue, interview-to-issue) |
gh is used | glab is used | Judged by sign-in state | Judged by sign-in state |
Working on Issues (git-fix-issue-ja) |
gh is used | glab is used | Judged by sign-in state | Judged by sign-in state |
Creating PRs / MRs (git-push-and-create-merge-request-ja) |
gh is used | glab is used | Judged by sign-in state | Judged by sign-in state |
Reviewing PRs / MRs (git-review-merge-request-ja) |
gh is used | glab is used | Judged by sign-in state | Judged by sign-in state |
When to use it
Section titled “When to use it”- Use it when you want to check the required preparation before using the Issues Pane or the skills that handle Issues and PRs / MRs in a repository whose origin is on GitHub or GitLab.
- Use it when you want to check, for a repository on a self-hosted server such as GitHub Enterprise or Self-Managed GitLab, when the Issues Pane button appears and how the skills judge the service.
Prepare
Section titled “Prepare”For GitHub, install gh; for GitLab, install glab; and log in. For a self-hosted server, run gh auth login --hostname <host> or glab auth login --hostname <host> to log in to that host.
For installing gh and glab, see System Requirements.
The App itself
Section titled “The App itself”The App treats the worktree’s origin as GitHub if its host name contains github, and as GitLab if it contains gitlab. For a self-hosted server whose host name contains neither, the Issues Pane button does not appear and you cannot use the Issues Pane. For Issues Pane operations, see Issues.
To the left of each workspace name in the sidebar, a GitHub, GitLab, or Git icon appears according to this judgment.

Use skills from App buttons
Section titled “Use skills from App buttons”The “Commit” and “Push” buttons in the “Changes” Pane send a request that uses a skill to the chat. “Commit” sends /skill:git-commit-ja, and “Push” sends /skill:git-push-and-create-merge-request-ja. The “Changes” Pane appears for worktrees in Git repositories regardless of the origin’s host name. The skill that is sent judges the service to push to in the way described under “Skills”.
For “Changes” Pane operations, see Changes.
Skills
Section titled “Skills”The skills treat the origin as GitHub if its host is github.com, and as GitLab if it is gitlab.com.
For other hosts, they check the sign-in state of both gh and glab, and if only one of them is signed in, they use that service.
- If neither is signed in, every skill stops.
- If both are signed in, the behavior differs by skill.
load-issueandinterview-to-issuestop.git-fix-issue-ja,git-push-and-create-merge-request-ja, andgit-review-merge-request-jaask you whether to use GitHub or GitLab.
When you specify an Issue or a PR / MR by its full URL, the judgment also differs by skill.
load-issuedecides on GitLab from the full URL only when the URL is in the GitLab form (ending in/-/issues/<N>). A URL in the GitHub form is judged by sign-in state, the same as when you specify a number.git-review-merge-request-jadecides the service from the path of the full URL.
For details on each skill, see load-issue, interview-to-issue, git-fix-issue-ja, git-push-and-create-merge-request-ja, and git-review-merge-request-ja.