Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

clone commit of a branch

> git clone -b <branch-name> <remote-repo>
> cd <repo-name>
> git checkout -b <new-branch-name> <commit-id>
> code .
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #clone #commit #branch
ADD COMMENT
Topic
Name
7+9 =