Skip to content

Instantly share code, notes, and snippets.

@twmills
Created August 29, 2010 18:54
Show Gist options
  • Save twmills/556564 to your computer and use it in GitHub Desktop.
Save twmills/556564 to your computer and use it in GitHub Desktop.
#----------------------------------------------------------------------------
# Git Setup
#----------------------------------------------------------------------------
append_file '.gitignore', %{
/.bundle
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
public/uploads/*
gems/*
!gems/cache
!gems/bundler
}
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