[ad_1]
I have the following files listed in my .gitignore
file, for simplicity sake we’ll focus on just one:
latin/files/lasla_db.pkl
That file was never added to my github repository but maybe someone how it got added into the cache or something like that so I ran:
Admins-MacBook-Pro-4:latin bobsmith$ git rm --cached latin/files/lasla_db2.pkl
rm latin/files/lasla_db2.pkl
I then ran the following commands:
Admins-MacBook-Pro-4:latin bobsmith$ git add .
Admins-MacBook-Pro-4:latin bobsmith$ git status
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: latin/files/lasla_db.pkl
I then ran the following:
Admins-MacBook-Pro-4:latin bobsmith$ git commit -m 'a'
[master 81b1e23] a
12 files changed, 9 deletions(-)
delete mode 100644 latin/files/lasla_db.pkl
I then ran
git push -u origin master
I got two error messages related to large files which I’m not worried about because once I ignore the offending files I assume the problem will go away:
remote: error: Trace: a46785362c02dd013da2eba7570e06c706a9f31357257ef6957b9f39b86c2efe
remote: error: See http://git.io/iEPt8g for more information.
But one I do understand but don’t understand why I’m getting it since I’m ignoring that file:
remote: error: File latin/files/lasla_db.pkl is 217.16 MB; this exceeds GitHub's file size limit of 100.00 MB
[ad_2]