LoginSignup
1
0

More than 3 years have passed since last update.

git lfsを含んだリポジトリを移行する

Posted at

git lfsで管理されたファイルがある場合、以下のように普通にリモートを足してpushするだけではgit lfs管理下のファイルは移行先にpushされません。

git remote add new https://hogehoge/path/to/repo
git push -uf new master

移行元のサーバーからすべてのファイルを取得して、移行先のサーバーへpushする必要もあります。

git lfs fetch origin --all
git lfs push new --all

参考リンク

1
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
1
0