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

what is fork?

chandra01 May 8, 2015
 

2 answers

1 vote
rahuldanwade
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.
May 9, 2015

Hi Chandragupta,

 

1.You should clone a repository if you plan to push your changes back to the same repository where you have read+write access privileges.

2. You will need to fork the repository, which creates an editable copy of the entire repository (including all of its branches and commits) in your own source control management (e.g. Git) account under your ID.

Later, if you want to contribute back to the original project, you can make a pull request to the owner of the original cookbook repository so that your submitted changes can be merged into the main branch.

The workflow is like

  • Create a fork on Bitbucket.
  • Clone the forked repository your local system.
  • Modify the local repository.
  • Commit your changes.
  • Push changes back to the remote fork on Bitbucket.
  • Create a pull request from the forked repository (source) back to the original (destination).

How to Fork a Repository

  1. Locate the repository you want to fork.
    You can use the search area in the Bitbucket menu bar. 
  2. Navigate to the repository.
  3. Click the Fork button.

 

I hope this answers your question.

 

regards,

Rahul

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2015

A tool for eating with, or breaking up soil, a junction where a path or road splits in two, or a procedure where you decide to start a big new project starting from an existing project with no intention of merging the new stuff back into the original (that usage is derived from the one about the path)

chandra01 May 8, 2015

Thanks. But how to create a fork of a repo in bitbucket? Is it same as cloning?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events