DevOps / Senior Software Engineer
If you have a project and want to checkout specific revision (commit), you can do it as described below.
1) Clone the project:
2) Use the git describe command to get readable name for your commit. The git describe will first look for a tag which tags exactly that commit. If an exact match was not found, git describe will walk back through the commit history to locate an ancestor commit which has been tagged. The ancestor’s tag will be output along with an abbreviation of the input committish’s SHA1. You can read more about this command here.
3) Checkout the specified revision:
4) You can go back to the top with: