I’m not sure you can do this directly. You’re probably stuck with doing a fetch and then a checkout:
git fetch origin
git checkout -b test tag-name
By the way, I wouldn’t recommend using a tag name like “deploy”.
I’m not sure you can do this directly. You’re probably stuck with doing a fetch and then a checkout:
git fetch origin
git checkout -b test tag-name
By the way, I wouldn’t recommend using a tag name like “deploy”.