Git Integration

Reliant integrates with Git for source control features. Some features require the GitHub CLI (gh) to be installed and authenticated.

GitHub CLI Requirement

The following features require GitHub CLI:

FeatureRequires gh CLI
Create PR from worktreeYes
Push branch to remoteYes
Detect repository default branchYes (with fallback)
View git statusNo
Create commitsNo
Create/switch branchesNo
Create worktreesNo

Installing GitHub CLI

macOS:

brew install gh

Linux:

# Debian/Ubuntu
sudo apt install gh

# Fedora
sudo dnf install gh

Or download from cli.github.com

Authenticating

After installing, authenticate with GitHub:

gh auth login

Follow the prompts to authenticate via browser or token.

Creating PRs from Worktrees

When you complete work in a worktree, you can create a PR directly:

  1. Go to the Worktrees panel
  2. Select your worktree
  3. Click “Create PR”
  4. Reliant pushes the branch and opens a PR

If gh isn’t installed or authenticated, you’ll see an error with installation instructions.

Default Branch Detection

Reliant uses gh to detect your repository’s default branch (for PR targets and worktree bases). If gh isn’t available, it falls back to checking for main or master.

Related Topics