gitporter
v0.1.6
Published
Manage GitHub issues from CSV files with import and cleanup commands
Maintainers
Readme
GitPorter

Fetch your GitHub issue workflow faster with GitPorter: plan, import, and bulk update at pack speed.
Install
Run with npx (no global install):
npx gitporter helpOr install globally:
npm install -g gitporter
gitporter helpStandalone binaries
GitHub Releases also publish standalone binaries for Linux, macOS, and Windows.
- Download the asset matching your platform from the latest
bin/v*release. - Verify the checksum against
SHA256SUMS.txt. - Extract and run:
./gitporter helpWindows PowerShell:
.\gitporter.exe helpQuick start
- Set environment variables:
- Required for GitHub API operations (
importapply,cleanup,export,update):GITHUB_TOKEN(or pass--tokenper command) - Optional defaults for repository targeting:
GITHUB_OWNER,GITHUB_REPO(or pass--owner/--repoper command)
- Generate a template CSV:
gitporter template --out ./gitporter.import.template.csv- Validate your CSV first:
gitporter validate --csv ./gitporter.import.template.csv- Preview changes without writing:
gitporter import --csv ./gitporter.import.template.csv --dry-run- Run import:
gitporter import --csv ./gitporter.import.template.csvCore commands
gitporter template: Generate an import-ready CSV template.gitporter import: Import issues from CSV.gitporter cleanup: Close issues from CSV selection or close all.gitporter validate: Validate CSV schema and row data.gitporter plan: Preview creates, closes, and updates.gitporter export: Export repository issues to normalized CSV.gitporter update: Compare/apply updates from normalized CSV.gitporter help: Show usage and examples.
Basic examples
# Import from normalized CSV
gitporter import --csv ./issues.csv --owner demo-org --repo demo-repo
# Preview cleanup targets
gitporter cleanup --owner demo-org --repo demo-repo --csv ./issues.csv --dry-run
# Plan import actions with JSON output
gitporter plan --mode import --csv ./issues.csv --owner demo-org --repo demo-repo --jsonDetailed docs and FAQ
Detailed command options, CSV schema notes, and frequently asked questions live in the wiki:
- Wiki Home
- CLI Command Reference
- Import command
- Cleanup command
- Validate command
- Plan command
- Export command
- Update command
- CSV Format and Examples
- FAQ
Development and contributing
Development setup, local npm run workflows, testing, and PR guidance live in CONTRIBUTING.md.

