例:GitHub → Gitea へ完全ミラー # 1. GitHubからベアリポジトリを取得 git clone --mirror https://github.com/go-gitea/gitea.git # 2. そのままフォルダに移動 cd gitea.git # 3. プッシュ先(Giteaの空リポジトリ)にURLを設定 git remote set-url --push origin http://localhost:10001/whs_gitadmin/gitea.git # 4. 全ブランチ・タグを一括プッシュ git push --mirror