vcspull import gitea¶
Import repositories from a self-hosted Gitea instance.
Command¶
Import repositories from a Gitea instance.
Usage¶
usage: vcspull import gitea [-h] [-w DIR] [-l LANG] [--topics TOPICS] [--min-stars N] [--archived] [--forks] [--limit N] [-f FILE] [--dry-run] [--yes] [--json] [--ndjson] [--https] [--color {auto,always,never}] [--token TOKEN] [-m {user,org,search}] --url URL TARGET
Positional Arguments¶
- target TARGET¶
User, org name, or search query. For GitLab, supports subgroups with slash notation (e.g., parent/child).
Options¶
Filtering¶
Output¶
- -f, --file FILE¶
Config file to write to (default: ~/.vcspull.yaml)
- --dry-run, -n¶
Preview without writing to config file
- --yes, -y¶
Skip confirmation prompt
- --json¶
Output as JSON
- --ndjson¶
Output as NDJSON (one JSON per line)
- --https¶
Use HTTPS clone URLs instead of SSH (default: SSH)
- --color¶
When to use colors (default: auto)
Authentication¶
Env var:
GITEA_TOKENToken type: API token with scoped permissions
Scope:
read:repository(minimum for listing repos)Create at:
https://<instance>/user/settings/applications
Set the token:
$ export GITEA_TOKEN=...
Then import:
$ vcspull import gitea myuser \
--workspace ~/code/ \
--url https://git.example.com