Sha256: b850ea2080d3c53a512b713e4eb561c44a199d7ea42636ceaf1c647f5482cf89

Contents?: true

Size: 779 Bytes

Versions: 5

Compression:

Stored size: 779 Bytes

Contents

# Application template recipe for the rails3_devise_wizard. Check for a newer version here:
# https://github.com/fortuity/rails3_devise_wizard/blob/master/recipes/git.rb

after_everything do
  # Git should ignore some files
  remove_file '.gitignore'
  get "https://github.com/fortuity/rails3-gitignore/raw/master/gitignore.txt", ".gitignore"
  # Initialize new Git repo
  git :init
  git :add => '.'
  git :commit => "-aqm 'Initial commit of a new Rails app'"
  # Create a git branch
  git :checkout => ' -b working_branch'
  git :add => '.'
  git :commit => "-m 'Initial commit of working_branch'"
end

__END__

name: Git
description: "Provides basic Git setup for the Rails app and commits the initial repository."
author: fortuity

exclusive: scm
category: other
tags: [scm]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails3_devise_wizard-0.2.4 recipes/git.rb
rails3_devise_wizard-0.2.3 recipes/git.rb
rails3_devise_wizard-0.2.2 recipes/git.rb
rails3_devise_wizard-0.2.1 recipes/git.rb
rails3_devise_wizard-0.2 recipes/git.rb