github 移行

投稿者:

別のレポジトリにコピーする場合
古いレポジトリをクローン
% git clone –mirror https://username:password@github.com/XXXX/old.git
これで一式がクローンされるので、生成されたディレクトリに移動する
% cd old.git
新しいレポジトリにコピー
% git push –mirror https://sername:password@github.com/XXXX/new.git

Thank you for reading this post, don't forget to subscribe!