You cannot add commits directly to User B's pull-request unless you have write access to User B's fork. You can, however, make local additions to the pull-request, by just fetching the pull-request branch into your own local repo (assuming the url for B's fork is public).
Open the issue or pull request that you want to assign to someone. If no one is assigned to an issue or pull request, click assign yourself to assign yourself. In the right side menu, click Assignees. To assign the issue or pull request to a user, start typing their username, then click their name when it appears.
Go into the directory for your project. Add a connection to your friend's version of the github repository, if you haven't already. Pull his/her changes. Push them back to your github repository.
You can check out the branch and re-submit a modified PR (giving credit to the original, preferably).
You can also issue a PR to the PR author:
git remote add userb https://github.com/userb/name.git
git fetch userb
git checkout featurebranch
[change and commit]
git push userc featurebranch
When you create a PR, GitHub lets you choose the base branch - so you can choose the fork and - if you want to - request changes to the PR.
You cannot add commits directly to User B's pull-request unless you have write access to User B's fork. You can, however, make local additions to the pull-request, by just fetching the pull-request branch into your own local repo (assuming the url for B's fork is public).
I'm not sure if it's possible to do a pull-request into B's fork since your own fork is from A and not B, though.
User C can add directly to User B's pull request if User B has given permission, or possibly if user C is a committer on User A's repo.
https://help.github.com/en/articles/committing-changes-to-a-pull-request-branch-created-from-a-fork
The github default permissions for users on a fork are copied from the original.
If you do have permissions your command line to add would look like this:
git push https://github.com/[userb]/[projectx].git [userc_localbranch]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With