githubにpushするにあたり
git push
をしたとき,
Delta compression using up to 6 threads.
Compressing objects: 100% (437/437), done.
Writing objects: 100% (445/445), 221.08 MiB | 7.39 MiB/s, done.
Total 445 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), done.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 46e6e6146393dfce0c018b2491623426
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File SRCNN-pytorch/BLAH_BLAH/91-image_x3.h5 is 181.82 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File SRCNN-pytorch/BLAH_BLAH/91-image_x4.h5 is 180.89 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/Hika-Kondo/Super_Resolution.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/***/Super_Resolution.git'
とエラーが出たため,
git rm --cache /SRCNN-pytorch/BLAH_BLAH
をし,
git ls-files
でgit管理下ファイルを確認したところ
SRCNN-pytorch/.gitignore
SRCNN-pytorch/README.md
SRCNN-pytorch/data/butterfly_GT.bmp
SRCNN-pytorch/data/butterfly_GT_bicubic_x3.bmp
SRCNN-pytorch/data/butterfly_GT_srcnn_x3.bmp
SRCNN-pytorch/data/ppt3.bmp
SRCNN-pytorch/data/ppt3_bicubic_x3.bmp
SRCNN-pytorch/data/ppt3_srcnn_x3.bmp
SRCNN-pytorch/data/zebra.bmp
SRCNN-pytorch/data/zebra_bicubic_x3.bmp
SRCNN-pytorch/data/zebra_srcnn_x3.bmp
SRCNN-pytorch/datasets.py
SRCNN-pytorch/models.py
SRCNN-pytorch/prepare.py
SRCNN-pytorch/test.py
SRCNN-pytorch/thumbnails/fig1.png
SRCNN-pytorch/train.py
SRCNN-pytorch/utils.py
となりエラーの出たファイルが管理下から外れていることを確認し
再度
git push
しましたが
Delta compression using up to 6 threads.
Compressing objects: 100% (437/437), done.
Writing objects: 100% (445/445), 221.08 MiB | 7.39 MiB/s, done.
Total 445 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), done.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 46e6e6146393dfce0c018b2491623426
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File SRCNN-pytorch/BLAH_BLAH/91-image_x3.h5 is 181.82 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: File SRCNN-pytorch/BLAH_BLAH/91-image_x4.h5 is 180.89 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/Hika-Kondo/Super_Resolution.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/***/Super_Resolution.git'
となりました.
この場合どのようにpush すればよろしいでしょうか?