Can i see from which branch was last deployed in capistrano
There is a file current/REVISION
which contains the hash of the deployed commit. And you can run git branch -a --contains <commit>
to get the branches which contains this commit.
I'm using capistrano 3.11
. Whenever I successfully deploy, capistrano creates a revisions.log
file inside your deployed app folder. Which will have something like bellow
Branch feature_branch (at ab2d06d889894c1a21101dd50) deployed as release 20190108100932 by deployer