Gar*_*ett 9 git github ipython
尝试推送到git时,我一直得到相同的结果:
Counting objects: 78, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (67/67), done.
Writing objects: 100% (71/71), 36.29 MiB | 637.00 KiB/s, done.
Total 71 (delta 39), reused 0 (delta 0)
remote: error: GH001: Large files detected.
remote: error: Trace: 7e446266168df8617c74b6a319ec4538
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File lecture_2_github_io_numpy_pandas/data/cup98LRN.txt is 111.74 MB; this exceeds GitHub's file size limit of 100 MB
To git@github.com:mas-dse/gbrock.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@github.com:mas-dse/gbrock.git'
Run Code Online (Sandbox Code Playgroud)
问题是,txt文件不再存在.我对ipython笔记本进行了更改,删除了该文本文件.保存了笔记本.添加了对git的更改.承诺改变.然后尝试推送git,但它不想工作.
我不能用:
git rm --cached 'file'
Run Code Online (Sandbox Code Playgroud)
因为该文件不再存在.我不知道该做什么.任何帮助将非常感激.
GitHub 为我提供了这个分步文档,它对我有用:https://help.github.com/articles/remove-sensitive-data/
基本上,需要对过去的提交进行更彻底的清理。
归档时间: |
|
查看次数: |
6016 次 |
最近记录: |