twingly/capistrano-twingly — pull request #13 by dentarg (2014-03-27 18:21:59+00:00)
Title: Make it easy to deploy the current git branch

How to use it:

```Ruby
# Capfile
require 'capistrano/twingly/current_git_branch'

# config/deploy/production.rb
set :branch, Twingly::Git.current_branch
```

In action:

```sh
$ bundle exec cap staging deploy
Deploying branch master to stage staging
...
```