void (boolean forcePush) { if (!myDontShowAgainCheckbox.isSelected()) { GitVcsSettings settings = GitVcsSettings.getInstance(myProject); if (settings.shouldPreviewPushOnCommitAndPush()) { settings.setPreviewPushProtectedOnly(true); } } super.push(forcePush); }