如何避免Github推送错误

如何避免Github推送错误,git,github,Git,Github,当我推送到GitHub时,我得到一个错误,即某个特定文件(tv.zip)太大。我从本地目录中删除了这个文件,然后提交了更改。我不想再保存那个文件了 然后,我再次推送,我得到了关于我已经从本地目录中删除的相同文件的相同错误 我需要做什么才能推动。下面是正在发生的事情的文本: c:\Users\rplaza\Files\GitHub\Documents>git status On branch master Your branch is ahead of 'origin/master' by

当我推送到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'

您是否键入git add-A,然后键入git commit-m“删除文件”?删除文件后,该文件可能位于您尝试推送的提交历史记录中(您尝试推送的5次提交)。在上一次提交中删除它不会将其从以前的提交中删除。是否键入git add-A,然后键入git commit-m“删除文件”,可能与此重复?删除文件后,该文件可能位于您尝试推送的提交历史记录中(您尝试推送的5次提交)。在上一次提交中删除它并不会从以前的提交中删除它。可能是重复的