-
Add to
.gitignore
:node_modules public
-
Add to your app
dependencies
ofpackage.json
:
Add to .gitignore
:
node_modules
public
Add to your app dependencies
of package.json
:
The git command-line utility has plenty of inconsistencies http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
A GUI like http://sourcetreeapp.com is often helpful, but staying on the command line usually quicker. This is a list of the commands I use most frequently, listed by functional category:
git status
list which (unstaged) files have changed