I successfully cloned a branch branchX on a remote git repo and wanted to use a code base at a certain tag tagX. I did as mentioned here to checkout to the tag. But it gives me the following error:
error: pathspec 'tagX' did not match any file(s) known to git. How to resolve this error? Is there an alternative way to point to the tag?
git tagcommand and check whether the tag is on the list.--single-branch?git clone <repo> --branch branchXto clone.