-2

When I run git push -u origin main the result is error, as shown in the picture:

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
  • 3
    https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors – Stephen Newell Apr 10 '23 at 03:22
  • https://stackoverflow.com/q/2100907/7976758 Found in https://stackoverflow.com/search?q=%5Bgit%5D+remove+large+file+history – phd Apr 10 '23 at 08:25

1 Answers1

1

You can't store files bigger than 100 MB in github.

You have 310.07 MB file vikiayaka/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome

Please remove or add this file in .gitignore

  • 2
    Remove first. .gitignore will not forget about files that are already being tracked. – Jim Redmond Apr 10 '23 at 03:30
  • Presumably the folder `node_modules` has been committed by accident - this should be pulled in by a package manager, not committed. – halfer Apr 10 '23 at 23:08