GIthub issue #149997
Replies: 3 comments
-
|
I understand your frustration. The issue arises because Git doesn't retroactively apply To resolve this issue, follow these steps:
By following these steps, you remove the large directories from both your local and remote repositories, ensuring they are ignored in future commits. This approach addresses the issue of pushing large files that have already been committed. If you continue to encounter issues, consider using tools like [BFG Repo-Cleaner](https://rtyley.github.io/bfg-repo-cleaner/) to remove large files from your repository's history. This tool is designed to handle such scenarios efficiently. Remember, it's best practice to avoid committing large directories like |
Beta Was this translation helpful? Give feedback.
-
|
Hmm weirdly when i use the git rm -r --cached node_modules .next command i get this error MacBook:plinxy-v2 macbook$ git rm -r --cached node_modules .next |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello so like im trying to push my code to github and it says the node modules folder is too bit so like yeah thats fine i add it to the .gitignore with .next and then that STILL doesnt work so then i just out right delete node modules and .next folders and try to push AGAIN and it still says the node modules folder is too big.. how the fuck does that work? its not even a folder in my codebase......
Beta Was this translation helpful? Give feedback.
All reactions