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:
| Feature | Requires gh CLI |
|---|---|
| Create PR from worktree | Yes |
| Push branch to remote | Yes |
| Detect repository default branch | Yes (with fallback) |
| View git status | No |
| Create commits | No |
| Create/switch branches | No |
| Create worktrees | No |
Installing GitHub CLI
macOS:
brew install ghLinux:
# Debian/Ubuntu
sudo apt install gh
# Fedora
sudo dnf install ghOr download from cli.github.com
Authenticating
After installing, authenticate with GitHub:
gh auth loginFollow 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:
- Go to the Worktrees panel
- Select your worktree
- Click “Create PR”
- 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
- Worktrees & Workspaces — Working in isolated directories
- Processes — Running build commands