Can i fork later?

Ruedi Lüthi November 6, 2013

I have some repositories they are forked from a boilerplate repository. But I forgot to fork the boilerplate from the original project. Is there a way to add this relation to the existing repository or do I have to recreate all the repositories?

2 answers

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2013

I have some repositories they are forked from a boilerplate repository. But I forgot to fork the boilerplate from the original project.

These two statements are contradictory.

You might want to consider using git-subtree (http://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories).

Ruedi Lüthi November 7, 2013

sorry, maybe my explanation was a little bit ambiguous.

I would like to fork in three steps: Repository A -> Repository B -> Repository C.

The fork-relation between B and C allready exists for 10 or more repositories. But I forgot to fork from A when i created B. So is there a way to add the fork-relation between them after creation?

One solution could be to recreate all the repositories in the right fork order, but as I said I allready have more than 10...

Ruedi Lüthi November 7, 2013

yes tanks, git-subtree could be a solution, but then i have to do the merge by myself in the shell and i could not use the web gui from bitbucket...

Is there no other solutions that works toghether with bitbucket and the web-gui?

Andrew Kenney July 27, 2017

I am also looking for a way to setup a fork relationship after the fact.   I could probably re-create the repository but it would be useful to setup that relationship after the fact.

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2013

Can you add a remote from the current repo to the remote repository?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events