nevstop-lab/GitHub Gitee Sync

Sync all repositories (public/private) between GitHub and Gitee

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-ownerGitHub username or organization nameyes
github-tokenGitHub Personal Access Token (needs repo scope; also needs read:org scope for organization repos)yes
gitee-ownerGitee username or organization nameyes
gitee-tokenGitee Personal Access Token (needs projects scope)yes
account-typeAccount type: user or org. Applies to both GitHub and Gitee sides (asymmetric types are not supported).nouser
include-privateWhether to include private repositoriesnotrue
include-reposComma-separated list of repository names to include (allow list). When set, ONLY these repos are synced. Takes precedence over exclude-repos.no""
exclude-reposComma-separated list of repository names to excludeno""
directionSync direction: github2gitee, gitee2github, both, github2local, or gitee2local. The *2local variants sync repositories to a local directory specified by local-path.nogithub2gitee
create-missing-reposWhether to create repos on target platform if they do not existnotrue
sync-extraComma-separated list of extra items to sync: releases,wiki,labels,milestones,issuesno""
dry-runRun all logic without actual sync (for debugging/testing)nofalse
visibilityFilter repos by visibility: all, public, or private (default: all). Applied after include/exclude filtering.noall
show-private-repo-namesControls how private repository names appear in logs (default: false). false/no/none: mask as [private]; true/yes/full: show full name; N (positive integer): show only the first N characters followed by '****' wrapped in brackets (e.g. 3 → '[CSM****]'). nofalse
git-timeoutTimeout in seconds for individual git operations such as clone and push (default: 900). Increase this value for very large repositories or slow/unreliable networks. no900
local-pathLocal directory path used as sync target when direction is 'github2local' or 'gitee2local'. Supports both Windows (e.g. 'C:\repos') and Linux/macOS (e.g. '/var/repos') paths. The directory will be created if it does not exist. Each repository is stored as a bare repo at '<local-path>/<repo-name>.git'. no""
namedescription
synced-countNumber of repositories successfully synced
failed-countNumber of repositories that failed to sync
skipped-countNumber of repositories skipped
sync-logCollected warnings and errors from the sync process