Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rails app-name
- cd app-name
- git init
- touch .gitignore
- edit your .gitignore to read:
- log/*.log
- tmp/**/*
- .DS_Store
- public/cache/**/*
- public/uploaded_files
- doc/api
- doc/app
- config/database.yml
- touch log/.gitignore
- touch tmp/.gitignore
- cp config/database.yml config/database.yml.example
- git add .
- git rm public/index.html -f
- git commit -v -a -m “initial commit”
Add Comment
Please, Sign In to add comment