Can i fork later?

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

This widget could not be displayed.
Timothy Chin Community Champion Nov 07, 2013

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

This widget could not be displayed.
Timothy Chin Community Champion Nov 07, 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).

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...

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?

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

140 views 16 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you