Thursday, March 28, 2013

A bit of git

Install git everywhere

sudo apt-get install git

Local Directory

git init
git add .
git commit -a -m "message foo"

Prepare the server

git init

Submit to server

git remote add origin url.git
git push origin master

Further Worthwhile Reading

No comments:

Post a Comment