Forums

Deleted file causing troubles

Well, I have a .CSV file form a process that exceeded 1 GB. I deleted it using the GUI but I'm still getting errors to related to this file. Is a ghot file somehow :)

14:41 ~/robot_oe_2 (master)$ git push -u origin master
Username for 'https://github.com': Endcoo Password for 'https://Endcoo@github.com': Enumerating objects: 1051, done. Counting objects: 100% (1051/1051), done. Delta compression using up to 4 threads Compressing objects: 100% (986/986), done. Writing objects: 100% (1046/1046), 160.55 MiB | 15.46 MiB/s, done. Total 1046 (delta 61), reused 1 (delta 0) remote: Resolving deltas: 100% (61/61), done. remote: error: Trace: b7fe76beb912b0bc77f49eb985844d1536855f557f03086e9c6bc8ff8fcfd42c remote: error: See http://git.io/iEPt8g for more information. remote: error: File tweets.csv is 1213.58 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. To https://github.com/Endcoo/robot_oe.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://github.com/Endcoo/robot_oe.git'

That is because you have the file committed in git. You need to remove it from your repository using git rm

Thanks Glenn, that was it, I'm a noob :)