Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 485 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 485 Bytes

I accidentally pushed node_modules 😢, What I can do?

  1. make sure you have .gitignore file or you can do
touch .gitignore
  1. add the unwanted files to it
node_modules
dist
src/styles
# or any other ones(later we will)
  1. we need to remove the node_modules folder from the git repository
git rm -r --cached node_modules
  1. commit your work
git commit -m 'Removed node_module 😉'
  1. push to Github
git push