-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Command attempted:
$ hub pr checkout 1234
# now somebody force-pushes the PR to incorporate feedback
$ hub pr checkout 1234
fatal: Refusing to fetch into current branch refs/heads/mybranch of non-bare repository
What happened:
hub fails with an internal git error.
As a user I want to get the new changes from the PR with the incorporated feedback.
hub should either do that, or tell me why I somehow can't get that (and perhaps actionable infon on what I should do instead), instead of failing with an internal git error message.
More info:
git version 2.23.1
hub version 2.12.7
on NixOS Linux 19.09.
Reactions are currently unavailable