Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git clone commit hash

git clone [remote_address_here] my_repo
cd my_repo
git reset --hard [ENTER HERE THE COMMIT HASH YOU WANT]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #clone #commit #hash
ADD COMMENT
Topic
Name
4+1 =