-1

I am getting this error,

File bigFile.txt is 125.61 MB; this exceeds GitHub's file size limit of 100.00 MB

This was after adding, committing, and trying to push. I went ahead and removed the bigFile.txt but the error keeps appearing every time I try to push again. I even tried undoing the last commit and it didn't work.

Lucas Alanis
  • 1,208
  • 3
  • 15
  • 30

1 Answers1

1

Assuming that your last commit is the one with bigFile.txt, do the following:

git rm bigFile.txt
git commit --amend

This will alter your last commit to not have bigFile.txt in it.

David Deutsch
  • 17,443
  • 4
  • 47
  • 54