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
{{ message }}
Repository navigation
"Push" menu item should say "Force Push" when you can only force push #7138
When a force push origin is inflight, the pull menu option is available to be clicked. Not sure what the correct resolution is, perhaps disable the menu option or do we allow the user to stash? I defer to the dev team for this as the error messaging is conflicting.
Otherwise the end result is:
Edit (5/1): We're going to keep the menu items enabled for now, but we have #7017 tracking those more specifically as we iterate on this. For this issue to be closed specifically, we need to update the "Push" menu item to "Force Push" when the user is in that state after rebase.
changed the title [-]user can pull when "force push" is the next action after a rebase [/-][+]user can pull from menu when "force push" is the push/pull button state[/+]on Mar 25, 2019
changed the title [-]user can pull from menu when "force push" is the push/pull button state[/-][+]"Push" menu item should say "Force Push" when you can only force push[/+]on Apr 1, 2019
Updated the initial issue and issue title after talking with @shiftkey and @nerdneha today to indicate that to close this issue, we'll only need to update the "Push" menu item to "Force push" when a user is in that state.
Activity
shiftkey commentedon Mar 22, 2019
I'd be 👍 to exploring the work required to do this when you are about to force push:
pullwhen you are expected toForce Pushbecause it can put you back into a confusing spaceForce push(as well as the...if the confirmation dialog is enabled by the user)The polish could be deferred to after
1.7.0, but it might be helpful guidance to the user.EDIT: oops, didn't read the context and focused on the wrong menu item.
[-]Allowing a Pull during a rebase[/-][+]user can pull when "force push" is the next action after a rebase [/+]tierninho commentedon Mar 23, 2019
Also, if you edit an existing file, and then try to rebase into current branch, you get a similar error message.
[-]user can pull when "force push" is the next action after a rebase [/-][+]user can pull from menu when "force push" is the push/pull button state[/+][-]user can pull from menu when "force push" is the push/pull button state[/-][+]"Push" menu item should say "Force Push" when you can only force push[/+]billygriffin commentedon Apr 1, 2019
Updated the initial issue and issue title after talking with @shiftkey and @nerdneha today to indicate that to close this issue, we'll only need to update the "Push" menu item to "Force push" when a user is in that state.
shiftkey commentedon Apr 1, 2019
The other feedback in this issue will be incorporated into #7017