What is the difference between git add, push and commit?
add
push
commit
Just a little confused coming from SVN, where \"update\" will \'add\'
I find this image very meaningful :
(from : Oliver Steele -My Git Workflow (2008) )
add tells git to start tracking a file.
commit commits your current changes on your local repository
push pushes you local repo upstream.