Answer the question
In order to leave comments, you need to log in
How to upload a nodejs project to github?
Made:
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: e83b520adb2652e8e2bdee49bfa8a1f38a321a2e524102b974e43fa2c5e87cff
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File node_modules/electron/dist/electron is 126.17 MB; this exceeds GitHub's file size limit of 100.00 MB
Answer the question
In order to leave comments, you need to log in
Well, it is clearly stated there that the github does not accept files larger than 100 MB.
Remove node_modules/electron/dist/electron from the commit
From here
https://stackoverflow.com/questions/24290358/remov...
To forget directory recursively add /*/* to the path:
git update-index --assume-unchanged wordpress/wp-content/uploads/*/*
Using git rm --cached is not good for collaboration. More details here: How to stop tracking and ignore changes to a file in Git?
https://stackoverflow.com/questions/936249/how-to-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question