Saturday, February 16, 2008

git post

I've been messing around with git lately and here are some notes

git init-db - initializes the repo
git add . - Adds file to repo
git commit -a -m "message" - commit to repo
git clone --bare projecname .git - makes a clone of the repo
git push - pushes it to the bare repo (can be done remotely)
git pull - updates the repo

No comments: