I chatted a bit with the hatchbox folks and their official API does not support branch deploys, only refs. Passing a branch name works, but it only shows the first 6 chars in the UI so they're clearly not expecting it.
This takes a branch name (or whatever ref you give it) and converts it into the git ref using git rev-parse to be deployed.
I chatted a bit with the hatchbox folks and their official API does not support branch deploys, only refs. Passing a branch name works, but it only shows the first 6 chars in the UI so they're clearly not expecting it.
This takes a branch name (or whatever ref you give it) and converts it into the git ref using `git rev-parse` to be deployed.