git Basics
29 January 2010Who wants to use CVS or SVN anymore - nobody! Welcome social coding with git and GitHub.
Customise to your needs
$ git config --global user.name "Your Name"
$ git config --global user.email yourname@yourdomain.com
Create a .gitignore file
$ less .gitignore
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
Initialize git project
git init
git status
git add .
git commit -a -m 'initial project'