Skip to content

Instantly share code, notes, and snippets.

@itsprdp
Last active December 21, 2015 10:40
Show Gist options
  • Save itsprdp/508e0f0774d615655eac to your computer and use it in GitHub Desktop.
Save itsprdp/508e0f0774d615655eac to your computer and use it in GitHub Desktop.
Clone the git repo and checkout to latest tag/release version
git clone <git-url> <dest-dir>
cd <dest-dir>
git checkout tags/$(git tag -l | tail -1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment