LoginSignup
0
0

More than 5 years have passed since last update.

世界一簡単なgitの移行・コピー

Last updated at Posted at 2019-01-24

この投稿で出来ること

  • gitのブランチ・コミットのコピー

出来ないこと

  • PRのコピー
  • issueのコピー

その他

  • 元ブランチには影響ありません

実践

  • 移行先のリポジトリを作成しておく iOS-App など
  • localに適当なディレクトリを作ってコピーの元をclone
$ git clone --mirror (移行元)https://github.com/hoge.git
  • localに hoge.gitが出来ているのでその中に移動
$ cd hoge.git
  • 移行先にpushする
$ git push --mirror (移行先)https://github.com/iOS-App.git

done

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0