Git - update branch protection dialog message (#284037)

This commit is contained in:
Ladislau Szomoru
2025-12-17 11:58:27 +00:00
committed by GitHub
parent bade067e41
commit e255528ff0

View File

@@ -2417,7 +2417,7 @@ export class CommandCenter {
let pick: string | undefined = commitToNewBranch;
if (branchProtectionPrompt === 'alwaysPrompt') {
const message = l10n.t('You are trying to commit to a protected branch and you might not have permission to push your commits to the remote.\n\nHow would you like to proceed?');
const message = l10n.t('You are trying to commit to a protected branch. How would you like to proceed?');
const commit = l10n.t('Commit Anyway');
pick = await window.showWarningMessage(message, { modal: true }, commitToNewBranch, commit);