It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Timothy Community Leader Nov 07, 2013

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

0 votes
Timothy Community Leader 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
TAGS
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

44 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you