I've had too many instances where my working tree on a "wrong" branch and it ended up overriding another bug's PR. git-webkit should detect this and confirm with the user instead of going ahead & pushing PR to the remote.
e.g. see https://github.com/WebKit/WebKit/pull/2486 where I accidentally pushed PR for the bug 198280. This is really annoying because then I'd have to restore the old branch and force push again in addition to creating a new branch for the bug.
<rdar://problem/97489503>
This was fixed in https://bugs.webkit.org/show_bug.cgi?id=244660, a few related changes in the same area have further cleaned up the behavior of that original change.
*** This bug has been marked as a duplicate of bug 244660 ***