Snk-cli shouldn't deal with git at all. All the commit/tag version stuff should happen on the snk side. I.e. snk should just set the version in the snk.yaml file when it installs a workflow.
If snk.yaml has a version then add the commit hash when you install it e.g. v1.0 (commit_hash). If a commit is requested then replace the version with that commit.
Snk-cli shouldn't deal with git at all. All the commit/tag version stuff should happen on the snk side. I.e. snk should just set the version in the snk.yaml file when it installs a workflow.
If snk.yaml has a version then add the commit hash when you install it e.g. v1.0 (commit_hash). If a commit is requested then replace the version with that commit.