atiq1589
atiq1589

Reputation: 2327

github pull request to current repository

I am working on a opensource project that was forked to my company github account. Here my team made some changes and want to create PR to the forked repository (not the base repository). But every time when we try to create PR we have to manually set our repository from the repository list then have to select the branch.

My question is: Is there a way that always my company repository will be selected by default?

Because sometime it is very disturbing to search my repository from the bunch of all other forks. Its really annoying that sometime it took time to switch repository. And sometime unintentionally creates PR to wrong repository enter image description here

Upvotes: 2

Views: 93

Answers (3)

sharjeel moin
sharjeel moin

Reputation: 3

Try this:

git add -A
commit -m "you message"  
git pull "origin master or branch name" 

Upvotes: -1

antzshrek
antzshrek

Reputation: 9953

As @robrich suggested in his SO answer, it appears you're doing some push and commit heavily, and having to keep selecting your company's account all the time you create PR to have to manually set your repository from the repository list then have to select the branch, is very consuming and can be annoying, I also suggest you should contact GitHub customer support to help you instead.

Upvotes: 2

Gurram Madhu
Gurram Madhu

Reputation: 1

1.On GitHub, navigate to the main page of the repository.

2.Under your repository name, click Settings

3.n the default branch sidebar, choose the new default branch. [enter image description here][1]

Upvotes: 0

Related Questions