How to merge a transfer request into the function branch of my github project?

Someone sent a request to transfer my GitHub project from a fork. Instead of merging directly with the master, I would prefer to merge the changes into the function branch so that I can make some minor changes before merging the final product with the master. If at all possible, I would like GitHub to inform the applicant that the request has been accepted (I want to encourage and acknowledge contributions!). Is it possible? How should I do it?

+4
source share
3 answers

It would be nice if you could change the goal of merging the pull request. It would also be nice if you could collaborate on a tensile request before accepting it to fix minor issues. AFIAK Github does not allow any of these things. You have a choice ...

  • Make a merge manually and thank the author in a comment on PR explaining why he did not merge directly into master.
  • Ask the author to resubmit the transfer request to the function branches.
  • Ask the author to make corrections.

# 1, . , , . , . , "", . , , , , , . , - , . - , .

, # 3. , , . PR ( ", ABC123".) , . , .

+2

! :

$ git checkout -b my-feature

:

$ git pull https://github.com/user/fork.git

:

$ # make changes
$ git commit -am "my minor changes"

github.

$ git checkout master
$ git merge my-feature
$ git push origin master

github.com, , , .

+2

PR , :

git fetch <fork-url> <PR-branch name>

FETCH_HEAD ( , , )

FETCH_HEAD " "

git checkout -b my-feature-branch FETCH_HEAD

, , , , ..

, - PR : -)

0

All Articles