Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fetching a forked branch

$ git remote add theirusername git@github.com:theirusername/reponame.git
$ git fetch theirusername
$ git checkout -b mynamefortheirbranch theirusername/theirbranch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fetching #forked #branch
ADD COMMENT
Topic
Name
4+1 =