2 answers

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,766 views 26 12
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