Git2git
Handy library for copying repositories from one git host to another
Install / Use
/learn @tylerjgarland/Git2gitREADME
Pre-Release
The intention of this is app is to eventually allow the synchronization of git repositories between GitHub, GitLab, BitBucket, and others.
How To Use
- Download appropriate binary for your OS
- Generate GitLab token with permissions:

- Generate GitHub token with permissions:

git2git --target-token 1234 --origin-token 5678 --target gitlab --origin github
Supported Flags
- --target-token
- --origin-token
- --target (gitlab,github)
- --origin (gitlab,github)
Latest Release
Supports sync of all branches for (github -> gitlab) (gitlab -> github) (github -> github) (gitlab -> gitlab).
Some caveats:
Only copies repositories that aren't empty. Only copies repositories that don't have same-named repositories in . Only copies git history. Issues and other metadata aren't copied.
Warning: Do not try this if you have repositories in the target that have the same name as the ones you're trying to sync.
Milestones
- [X] Copy all owned, private repositories from GitLab to GitHub
- [X] Copy all owned, private repositories from GitHub to GitLab
- [X] Copy all owned, private repositories from GitLab to GitLab
- [X] Copy all owned, private repositories from GitHub to GitHub
- [X] Synchronize latest changes from repositories to the next
- [X] Interactive mode where repositories can be selected
- [ ] Add support for additional flags (archived, public, private, ... repositories)
- [ ] Add support for other git hosting environments
- [ ] Schedule Synchronization
- [ ] Copy issues w/ content from one project to another
- [ ] Zip up repositories and copy to backup location (Google Drive, etc)
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
