Sha256: a63a1d03037a83ee26505433e9cb488fd5218f76c1738eb3de393b7636df660f

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 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
  say_wizard "Git recipe running 'after everything'"
  # 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: "Set up Git and commit the initial repository."
author: fortuity

exclusive: scm
category: other
tags: [scm]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails3_devise_wizard-0.2.5 recipes/git.rb