Skip to content

Latest commit

 

History

History

14-04

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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