How should i create a pull request on top of a forked repo

Let’s say there’s person A (me) and B in an organisation owning the repo org/the-repo. both of us forked from the repo, resulting in A/the-repo and B/the-repo. now, person B made a branch in B/the-repo called new-feature, and i wanted to contribute some code on top of that branch.

so, what do both of us need to do? i’m already given access to create a PR, but i don’t see my repo in the list of branches to pull from. i can’t even make a fork of person B’s fork.

or is my approach not the right way to do this?

both of us are really new to both github and gitea. and i just wanted to contribute to an open source project as a small side-hobby. any help would be greatly appreciated.

EDIT: is there a way to mark this as solved?

1 Like

i’m already given access to create a PR, but i don’t see my repo in the list of branches to pull from. i can’t even make a fork of person B’s fork.

i found the solution! apparently, you can edit the address bar to explicitly use a branch. Example:

https://git.host.com/B/the-repo/compare/new_feature...A:new_feature
1 Like