Created
November 1, 2017 01:45
-
-
Save AdvaithD/fcdfbf5a2707ca3b022b65287c9c036f to your computer and use it in GitHub Desktop.
stop tracking 'node_modules' in a git repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ touch .gitignore | |
$ nano .gitignore | |
Add 'node_modules' to .gitignore file | |
$ git rm -r --cached node_modules | |
$ git commit -m 'Stopped tracking node modules' | |
$ git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment