Skip to content

Git tips

Polina Soshnin edited this page Jan 16, 2016 · 1 revision

Adding a file to .gitignore that was previously committed.

 echo 'node_modules' >> .gitignore
$ git rm -r --cached node_modules
$ git commit -am 'ignore node_modules'
Clone this wiki locally