如何避免Github推送错误

时间:2017-09-21 18:29:41

标签: git github

当我向GitHub推送时,我得到一个特定文件(tv.zip)太大的错误。我从本地目录中删除了此文件,然后提交了更改。我不想再保存该文件了。

然后我再次进行了推送,我得到了与本地目录中已删除的文件相同的错误。

我需要做什么才能推动。以下是正在发生的事情的文本:

c:\Users\rplaza\Files\GitHub\Documents>git status
On branch master
Your branch is ahead of 'origin/master' by 5 commits.
  (use "git push" to publish your local commits)

 nothing to commit, working directory clean

c:\Users\rplaza\Files\GitHub\Documents>git push
Counting objects: 127, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (106/106), done.
Writing objects: 100% (118/118), 665.07 MiB | 264.00 KiB/s, done.
Total 118 (delta 37), reused 0 (delta 0)
remote: Resolving deltas: 100% (37/37), completed with 6 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large 
File Storage - https://git-lfs.github.com.
remote: error: Trace: b39c9ffdfb91284e9d625110da8b559f
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File ThirdParty/DVSI Voice Codec/DVSI Files - Older/tv.zip is 
593.00 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/Revcord/documents.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 
'https://github.com/Revcord/documents.git'

0 个答案:

没有答案