2 answers

This widget could not be displayed.

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

This widget could not be displayed.

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)

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,267 views 8 11
Read article

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