Forked repository contains no branches

Pritesh_Shah December 3, 2018

When we fork repository, new forked repository doesn't contain any branches not merged to main branch from which this new repository is forked

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 17, 2018

Hi Pritesh!

Forking and cloning are not the same thing. Forking a repository will copy the main data such as files and code. Issues, branches, pull requests and other features, will not be copied over to your fork. Instead, your fork will start as a newly created repository, but with all of the content present at the time of forking.

This is easily explained at The difference between forking and cloning a repository.

Hope that helps!

Ana

Orim Dominic Adah June 20, 2019

I have this issue too. Could you check my question [here] Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events