{"id":28294973,"url":"https://github.com/mrniamster/gitrepomigrator","last_synced_at":"2025-08-04T06:36:21.957Z","repository":{"id":289808469,"uuid":"972465277","full_name":"mrniamster/GitRepoMigrator","owner":"mrniamster","description":"Simple yet powerful tool for Cross account git repo to: migrate commit,releases,tags,branches,description,authors from one Repo to another 🥳","archived":false,"fork":false,"pushed_at":"2025-04-25T08:23:35.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T11:23:09.836Z","etag":null,"topics":["git","migration","repository","transfer-data"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrniamster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-25T06:00:51.000Z","updated_at":"2025-04-27T07:51:26.000Z","dependencies_parsed_at":"2025-04-25T09:37:49.387Z","dependency_job_id":"2a1c83c2-fe58-49c2-83e0-3e1b4ee06e3d","html_url":"https://github.com/mrniamster/GitRepoMigrator","commit_stats":null,"previous_names":["mrniamster/destrepo","mrniamster/gitrepomigrator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrniamster/GitRepoMigrator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrniamster%2FGitRepoMigrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrniamster%2FGitRepoMigrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrniamster%2FGitRepoMigrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrniamster%2FGitRepoMigrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrniamster","download_url":"https://codeload.github.com/mrniamster/GitRepoMigrator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrniamster%2FGitRepoMigrator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268658079,"owners_count":24285629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","migration","repository","transfer-data"],"created_at":"2025-05-22T11:18:48.101Z","updated_at":"2025-08-04T06:36:21.941Z","avatar_url":"https://github.com/mrniamster.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Repository Migrator\n\nA tool to migrate Git repositories (commits, tags, releases, and description) between GitHub repositories. Supports both CLI and GUI modes.\n\n## Features\n- Migrate all branches and tags\n- Migrate GitHub releases (with token)\n- Migrate repository description (with token)\n- Retain commit authors\n- Progress bar and status updates in GUI\n- Select what to migrate (commits, tags, releases, description)\n- Works with public and private repositories (token required for private)\n- CLI/GUI integration\n\n## Requirements\n- Python 3.7+\n- `requests` library\n- `git` installed and available in PATH\n\nInstall Python dependencies:\n```\npip install requests\n```\n\n## Usage\n\n### GUI Mode\nLaunch the GUI:\n```\npython git_migrator.py --gui\n```\nOr simply:\n```\npython git_migrator.py\n```\n\n- Fill in the source and target repository URLs.\n- (Optional) Enter your GitHub Personal Access Token for private repos, releases, or description migration.\n- Select what you want to migrate using the checkboxes.\n- Click **Start Migration**.\n- Progress and status will be shown at the bottom.\n\n### CLI Mode\nRun from the command line:\n```\npython git_migrator.py \u003csource_repo_url\u003e \u003ctarget_repo_url\u003e [options]\n```\n\n#### Options\n- `--token \u003ctoken\u003e`: GitHub personal access token (required for private repos, releases, or description)\n- `--all`: Perform all actions in sequence\n- `--migrate-releases`: Migrate GitHub releases (requires token)\n- `--fetch-details`: Fetch repository description and commits (requires token)\n- `--temp-dir \u003cdir\u003e`: Specify a custom temporary directory\n- `--dry-run`: Simulate the migration without making changes\n- `--verbose`: Enable verbose output\n\n#### Example\n```\npython git_migrator.py https://github.com/source/repo https://github.com/target/repo --all --token \u003cyour_token\u003e\n```\n\n## Notes\n- For public repositories, you can migrate commits and tags without a token.\n- For private repositories, releases, or description migration, a token with `repo` scope is required.\n- The tool cleans up temporary files after migration.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrniamster%2Fgitrepomigrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrniamster%2Fgitrepomigrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrniamster%2Fgitrepomigrator/lists"}