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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events