Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Forking a fork

Jeffrey Markel November 4, 2015

In order to facilitate feature development with multiple developers, the most efficient/effective way to do it is to fork the product repo, then have each individual developer for the fork, work on it, and do pull requests into the first fork. Once the the feature is done, the top-level fork could be PR'ed back into the main project repo.

This is not unlike a feature-branch model, but we prefer not to use that model because 1) it clutters the repo with unnecessary branches and 2) it keeps each repo in sync via fork-synching, whereas a feature-branch can and will fall behind.

 

So - my ask is that Stash/Bitbucket provide the ability to fork a fork

3 answers

0 votes
Justin Shapiro
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.
April 7, 2016

But specifically fork your own fork.  You can fork a fork but since you can't fork your own fork one person gets left out of the fun.

0 votes
Steven Whitman November 4, 2015

Yes you can fork a fork.  One thing to be aware of is if your repository has submodules those will need special handling.  If you can use relative paths for the submodule URL then it will be possible to fork the repository and the submodules it contains without any problems.  If you never want to fork the submodule then you don't need to worry about using relative paths.

 

0 votes
Tim Crall
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 4, 2015

Feature requests can be posted at jira.atlassian.com.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events