Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 577 Bytes
# Application template recipe for the rails_apps_composer. Change the recipe here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/git.rb
## Git
say_wizard "initialize git"
prefs[:git] = true unless prefs.has_key? :git
if prefer :git, true
copy_from 'https://raw.github.com/RailsApps/rails-composer/master/files/gitignore.txt', '.gitignore'
git :init
git :add => '-A'
git :commit => '-qm "rails_apps_composer: initial commit"'
end
__END__
name: git
description: "Initialize git for your application."
author: RailsApps
category: configuration
Jump to Line
Something went wrong with that request. Please try again.