wit github import
Import repositories from GitHub to wit, including all metadata like issues, pull requests, labels, milestones, and releases.Overview
The GitHub import command allows you to:- Clone Git repository data
- Import issues with comments
- Import pull requests with comments
- Import labels and milestones
- Import releases
Usage
Options
Import Filters
Examples
Basic Import
Preview Mode
Import with Custom Name
Import into Organization
Private Repository Import
For private repositories, authenticate first:Selective Import
Import only issues:Authentication
GitHub Login
For the best experience, authenticate with GitHub first:Token Authentication
Alternatively, provide a token directly:repo- For private repositoriespublic_repo- For public repositories only
What Gets Imported
Git Data
- All commits and history
- All branches
- All tags
- Repository configuration
Issues
- Title and body
- Labels and assignees
- Milestone association
- Open/closed state
- Comments (with author attribution)
- Original creation date (noted in body)
Pull Requests
- Title and body
- Source and target branches
- Labels and assignees
- Merge status
- Comments and review comments
- Original creation date
Labels
- Name and color
- Description
Milestones
- Title and description
- Due date
- Open/closed state
Releases
- Tag name
- Title and body
- Draft/prerelease status
- Assets (metadata only)
Notes
GitHub usernames are preserved in comments as “@username” but won’t link to wit users unless they exist.
Issue and PR numbers may differ in wit but original numbers are preserved in the content for reference.
Server Mode
For full import functionality with database storage:Related Commands
wit github login- Authenticate with GitHubwit clone- Clone a wit repositorywit remote- Manage remote repositories