-H (head) names the branch holding your commits, overriding the current checkout. -B (base) names the branch your code merges into, so you can target main or a release branch without switching branches locally. Issue triage stays accurate because the PR is created against exactly the branch you name.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.