Specifying `--git-branch` in `vercel deploy`

Someone shared their “deploy preview” GitHub workflow in another post. It works by first checking out the desired commit so the CLI can pick up the branch metadata

2 Likes