Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Tuesday, July 29, 2008

Git on Rails

Rails project setup with Git.

rails project
cd project

# commands
git init
git status
git add .
git commit -a
touch tmp/.gitignore log/.gitignore vendor/.gitignore

# .gitignore
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3