Quick Start
Get up and running with Ghit in under 5 minutes.
Install
bash
pnpm add -g ghitbash
npm install -g ghitbash
yarn global add ghitAuthenticate
bash
ghit loginFollow the browser OAuth flow to grant access.
Set Default Repository
bash
ghit set-repo owner/repoCommon Workflows
Browse Issues Interactively
bash
ghit issuesNavigate through issues, view details, close/reopen, edit, or delete.
Create a Single Issue
bash
ghit issues:create --title "Bug found" --body "Description"Seed Multiple Issues
Create a directory with markdown files (one per issue):
md
issues/
├── 001-setup-ci.md
├── 002-add-tests.md
└── 003-update-docs.mdEach file:
markdown
---
type: Issue Type (Feature, Task, Bug)
title: Setup CI Pipeline
labels: ['enhancement', 'ci']
assignees: ['username']
---
Add GitHub Actions workflow for automated testing.Then seed:
bash
ghit issues:seed ./issuesUpdate Issues in Bulk
Modify your markdown files, then:
bash
ghit issues:update ./issuesGhit uses smart diffing to update only changed content.
Delete Issues
Interactively multiselcet and delte issues
bash
ghit issues:deleteGenerated Commands
Generate CLI commands from GitHub's OpenAPI spec:
bash
ghit generate:apisNow use any GitHub REST endpoint:
bash
# List repos for authenticated user
ghit repos:list-for-authenticated-user --per_page 100
# Create a gist
ghit gists:create --description "My snippet" --public true
# Get user info
ghit users:get-authenticatedCommand Discovery
Run ghit --help to see all available commands, including generated ones and their expected options and arguments.
Configuration Tips
Check Current Config
bash
ghit infoEnable Debug Mode
bash
ghit config --debug trueSwitch Repositories Quickly
bash
ghit set-repo different-owner/different-repoNext Steps
- Getting Started Guide for detailed setup
- Commands Reference for all command options
