#author("2025-06-28T12:11:13+09:00","default:pengwei","pengwei")
#author("2025-06-28T13:23:31+09:00","default:pengwei","pengwei")
#[[gitea]]

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

トップ   差分 履歴 リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS