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
vscode.l10n.t('The pull request branch has diverged from the remote (you have {0} local commit(s), remote has {1} new commit(s)).\n\nThis usually happens when the remote branch has been force-pushed or rebased. You can reset your local branch to match the remote (this will discard your {0} local commit(s)), or cancel and resolve manually.',branch.ahead,branch.behind),
2502
+
{modal: true},
2503
+
resetToRemote,
2504
+
cancel
2505
+
);
2506
+
2507
+
if(result===resetToRemote){
2508
+
try{
2509
+
if(branch.upstream){
2510
+
// Fetch to ensure we have the latest remote state
0 commit comments