截至2013年6月18日的這一更改如何影響我的現有存儲庫,且文件超過了此限制?我在2個月前推出了一個大文件。Github文件大小上限改爲6/18/13。現在無法推送
我有一個大文件,我已經在本地刪除,但現在我無法推送任何東西。我得到一個「遠程錯誤」...遠程:錯誤:文件cron_log.log是126.91 MB;這超過了100 MB
我說原來推後的.gitignore文件GitHub的文件大小限制......但它仍然存在於遠程(產地)
刪除其本地應在原產地擺脫它( Github)對不對? ......但它不是讓我推,因爲有超過限制在Github上一個文件...
https://github.com/blog/1533-new-file-size-limits
這是我發出的加錯誤信息的命令..
git add . git commit -m "delete cron_log.log" git push origin master remote: Error code: 40bef1f6653fd2410fb2ab40242bc879 remote: warning: Error GH413: Large files detected. remote: warning: See http://git.io/iEPt8g for more information. remote: error: File cron_log.log is 141.41 MB; this exceeds GitHub's file size limit of 100 MB remote: error: File cron_log.log is 126.91 MB; this exceeds GitHub's file size limit of 100 MB To https://github.com/slinds(omited_here)/linexxxx(omited_here).git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://github.com/slinds(omited_here)
我又試圖之類的東西
git rm cron_log.log
git rm --cached cron_log.log
同樣的錯誤。
你能用命令解釋你到目前爲止刪除文件的過程嗎? – manojlds
是的,請發佈您正在運行的命令以及這些命令的輸出。 –
'git log --oneline @ {u} .. HEAD'和'find的輸出是什麼? -iname'cron_log.log''? – Chronial