Capistrano extension to deploy from a git subdirectory.
Add this line to your application's Gemfile:
gem 'capistrano-git_subtree'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-git_subtree
In your config/deploy.rb:
require 'capistrano-git_subtree'
set :scm, :git_subtree
set :git_subtree, "path/to/my/application"
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request