git Basics

Who 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'

Checkout, Merge and Push

NO COMMENT BOX
Right, not here. But it doesn’t mean I’m not interested in your feedback. I just prefer to use more busy services ;-) where a wider discussion could incur. So tweet me @netzfisch or if you find an error, fork my blog, correct the post and send me a pull request via GitHub. Thanks for your efforts.
CHEAT SHEETS
ELSEWHERE