sociomantic-tsunami / git-hub

Git command line interface to GitHub
GNU General Public License v3.0
127 stars 45 forks source link

pull: when creating a PR and the tracking branch is used, the repo should match hub.upstreamremote #296

Open llucax opened 3 years ago

llucax commented 3 years ago

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.