Skip to content

Instantly share code, notes, and snippets.

@pedrobrasileiro
Forked from activestylus/template_git.rb
Created November 3, 2010 19:14
Show Gist options
  • Save pedrobrasileiro/661540 to your computer and use it in GitHub Desktop.
Save pedrobrasileiro/661540 to your computer and use it in GitHub Desktop.
#----------------------------------------------------------------------------
# Git Setup
#----------------------------------------------------------------------------
file '.gitignore', <<-FILE
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
public/uploads/*
gems/*
!gems/cache
!gems/bundler
FILE
git :init
git :submodule => "init"
git :add => '.'
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment