Github user afs commented on the issue:

    https://github.com/apache/any23/pull/40
  
    To merge a github PR into the Apache codebase, you can add
    ```
    [remote "github"]
        url = [email protected]:apache/any123.git
        fetch = +refs/heads/*:refs/remotes/github/*
    ```
    to your local clone of the the Apache repo .git/config making `github` an 
upstream remote then do:
    ```
    git pull github pull/NNN/head --no-ff
    ```
    (or put the full "git@...." instead of "github" i believe)
    
    The `--no-ff` means it will always put in a a merge commit and bringing up 
the editor. That gives you the chance to add a line "This closes #NNN." to the 
commit message which causes the github PR to be closed.
    
    NNN is NN for a 2 digit PR.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to