I do not want to add .csv
files in my repositiorio github so I've written in .gitignore
:
# Compiled source #
###################
*.csv
But I answered the terminal:
mike@mike-thinks:~/Data/on_2018_04_25_16_43_17$ git push origin master
Username for 'https://github.com': Antoinecomp
Password for 'https://[email protected]':
Counting objects: 52, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (50/50), done.
Writing objects: 100% (52/52), 20.38 MiB | 2.06 MiB/s, done.
Total 52 (delta 14), reused 0 (delta 0)
remote: Resolving deltas: 100% (14/14), done.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 12b8a656f736b8819c2b79c59ba5bace
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File kis20180424140552.xml is 254.75 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/antoinecomp/classificationTree.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/antoinecomp/classificationTree.git'
Then I tried to clean the cache but it never worked either:
mike@mike-thinks:~/Data/on_2018_04_25_16_43_17$ git rm --cached option
fatal: pathspec 'option' did not match any files
How to make git no longer consider that csv files are too large to store?
Update :
here is the repository:
mike@mike-thinks:~/Data/on_2018_04_25_16_43_17$ ls
AccreditationByHep.csv kis20180424140552.xml
AccreditationByHepModified.csv KISAIM.csv
AccreditationByHepModifiedTest.txt KISCOURSE.csv
ACCREDITATION.csv LOCATION.csv
ACCREDITATIONTABLE.csv logstash_AccreditationByHep.config
COMMON.csv Main.py
CONTINUATION.csv NHSNSS.csv
COURSELOCATION.csv NSS.csv
DEGREECLASS.csv __pycache__
Elastic.py README.md
EMPLOYMENT.csv readme.txt
ENTRY.csv SALARY.csv
GetCourses.py SBJ.csv
get-pip.py setServer.py
INSTITUTION.csv TARIFF.csv
JOBLIST.csv Trees.xlsx
JOBTYPE.csv UCASCOURSEID.csv