git-hub
git-hub copied to clipboard
pull: when creating a PR and the tracking branch is used, the repo should match hub.upstreamremote
When creating a PR, if the branch has a tracking branch configured and it will be used as the base branch, then we should check that the remote matches the hub.upstreamremote, otherwise we might open the PR in an unrelated repo.
Part of #232.