I\'m working with symfony2 and I want to backup my vendors in case github is not reachable.
How do I clone a specific Version of a repository?
I want to back
The following might get you there:
git clone --branch
If you are looking for a specific version, then first create a branch off that version from your working repository. Like such:
# In a local, working repository
git checkout -b v2.0.9-br v2.0.9
git push origin
# Now create your clone from v2.0.9-br
Note, I've assumed v2.0.9 is a version (tag), not a branch. If it is a branch, then just clone with the '--branch' option.