You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should parse protected branch push rejections into a nicer error message.
Example message we get from git:
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: At least one approved review is required
To https://github.com/desktop/desktop.git
! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/desktop/desktop.git'
Activity
shiftkey commentedon Mar 22, 2017
Oops, looks like I did this specific issue already in #1036, and started crafting up a list of these known cases in #1023. Want to keep this open?
joshaber commentedon Mar 23, 2017
Nope, those issues look good 👍