With the git clone
command and arguments --depth/--branch
, you can download the last commit of a specific repository branch, but how to download a specific commit using its hash?
P.S. The use of git clone
and git checkout hash
is not suitable, because in that case necessary to make a clone of the entire repository.
Thanks!