I updated to Cap 3 and it appears that set :deploy_via, :copy
is no longer supported. In the release annoucement there is a link to a video for replicating the copy
There is one work in the exact same way
https://github.com/xuwupeng2000/capsitrano-scm-gitcopy
Capistrano 3 :copy
A copy strategy for Capistrano 3, which mimics the :copy
scm of Capistrano 2.
This Gem is inspired by and based on https://github.com/wercker/capistrano-scm-copy.
Thank wercker so much.
This will make Capistrano tar the a specific git branch, upload it to the server(s) and then extract it in the release directory.
cap uat deploy -s branch=(your release branch)