Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git checkout remote branch depth 1

git fetch --depth 1 origin flaggedrevs:flaggedrevs  #  `origin` can be a URL too
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #checkout #remote #branch #depth
ADD COMMENT
Topic
Name
3+2 =