2016-01-14 4 views
1

У меня установлен Git-LFS, и если вы проверите нижеуказанный журнал, вы увидите, что Git-LFS отслеживает все файлы, которые я пытаюсь загрузить, но все же даю мне файл больше, чем предельная ошибка. Так в чем проблема?Ошибка Git-LFS: загрузка большого файла через

C:\***\Immortal-Dawn [Programming +0 ~1 -0 | +126 ~4 -0 !]> git push origin Programming 
Counting objects: 152, done. 
Delta compression using up to 8 threads. 
Compressing objects: 100% (109/109), done. 
Writing objects: 100% (152/152), 357.06 MiB | 727.00 KiB/s, done. 
Total 152 (delta 85), reused 80 (delta 21) 
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. 
remote: error: Trace: c8d3b4fb7b9d8e6bdb74d5af30a9f9ee 
remote: error: See http://git.io/iEPt8g for more information. 
remote: error: File ImmortalDawn.sdf is 311.94 MB; this exceeds GitHub's file size limit of 100.00 MB 
remote: error: File Plugins/NPC Plugin/Intermediate/Build/Win64/UE4Editor/Development/NPCPluginCore/NPCPluginCorePCH.h.pch is 149.50 MB; this exceeds GitHub's file size limit of 100.00 MB 
remote: error: File Plugins/Test/Intermediate/Build/Win64/UE4Editor/Development/Test/TestPrivatePCH.h.pch is 354.06 MB; this exceeds GitHub's file size limit of 100.00 MB 
remote: error: File Intermediate/Build/Win64/UE4Editor/Development/ImmortalDawn/ImmortalDawn.h.pch is 698.56 MB; this exceeds GitHub's file size limit of 100.00 MB 
To https://***/Immortal-Dawn.git 
! [remote rejected] Programming -> Programming (pre-receive hook declined) 
error: failed to push some refs to 'https://***/Immortal-Dawn.git' 

C:\***\Immortal-Dawn [Programming +0 ~1 -0 | +126 ~4 -0 !]> git lfs track 
Listing tracked paths 
    *.pch (.gitattributes) 
    *.sdf (.gitattributes) 
    *.sdf,*.pch (.gitattributes) 
    *.psd (.gitattributes) 
    ImmortalDawn.sdf (.gitattributes) 

ответ

0

для меня похоже, что файл не загружен в местоположение lfs. Если нажать файлы для правильного хранения LFS, вы получите выход следующим образом:

LFS: 12.58 MB/12.58 MB 100.00 % 

На мой взгляд, вы должны проверить, вы .gitconfig файл в вашем хранилище. должна быть добавлена ​​строка:

[lfs "http://[email protected]:7990/scm/plt/reponame.git/info/lfs"] 
access = basic 

URL-адрес может отличаться от GitHub. Также вы должны проверить, поддерживает ли ваш репозиторий (serveride) LFS.