1

If a repository has multiple branches, is it possible to fork a particular branch only as a main branch in my fork, on GitHub?

a GitHub repository

2 Answers 2

1

I don't think so, as the wiki states:

A fork is a copy of a repository.

So by definition, you cannot fork a branch.

-2

This question was asked over at StackOverflow.SE and got the following response:

enter image description here

Source: Fork from a branch in github - StackOverflow.SE

2
  • Did you really use an image of a Stack Overflow post? How is that useful? Blind users can't see that, for one thing, nor will search engines be able to index it. You should quote the relevant portions and link to the source.
    – ale
    Sep 14, 2016 at 14:57
  • @AlE. I linked and flagged it. At the time I was unsure if quoting whole posts was an acceptable practice, though I did not want to simply post a link either. Sep 15, 2016 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.