The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add my repository to another repository branch of different account where I hv write aces?

Deepti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2018

I have write access for a repository e.g. ABC account bt i have created my own repository in my account with some changes made for the same project. Now I need to create a branch in the ABC account and submit my repository(I have only master branch ) How can i do it? Is it possible to do it.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2018

It sounds like you are describing a forking workflow although that might not be necessary since you have write access to the main repository. You could do two things:

  • Create your own branch in the Shared/ABC repository and then make a pull request from your branch to master in the Shared/ABC repository.
  • Fork the Shared/ABC repository. In the Personal/ABC repository you can work on the master branch or another branch and then create a pull request from Personal/ABC to Shared/ABC.

Here are some additional resources about these two workflows:

https://confluence.atlassian.com/bitbucket/branch-or-fork-your-repository-221450630.html

https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow

TAGS
AUG Leaders

Atlassian Community Events