Git ignore files in the rails projects

Go to you rails app folder and create a file named .gitignore

vim .gitignore

update the file:

nbproject
log/*.log
tmp/**/*
config/database.yml
db/schema.rb
db/*.sqlite3
public/javascripts/all.js
public/stylesheets/all.css
*.orig

# Other useful tidbits

.DS_Store
doc/api
doc/app

你可能感兴趣的:(css,git,vim,Rails,Go)