Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to clone a specific commit from github

bash 
git clone [URLTORepository]
git checkout  [commithash]

commit hash looks like this "45ef55ac20ce2389c9180658fdba35f4a663d204"
 
PREVIOUS NEXT
Tagged: #clone #specific #commit #github
ADD COMMENT
Topic
Name
9+2 =