Skip to content

Instantly share code, notes, and snippets.

@metamn
Created May 20, 2009 16:20
Show Gist options
  • Save metamn/114920 to your computer and use it in GitHub Desktop.
Save metamn/114920 to your computer and use it in GitHub Desktop.
git :init
file ".gitignore", <<-END
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
END
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore"
git :add => ".", :commit => "-m 'initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment