diff --git a/src/commands/git/branch.ts b/src/commands/git/branch.ts index 5d9fe98..a0e1985 100644 --- a/src/commands/git/branch.ts +++ b/src/commands/git/branch.ts @@ -266,7 +266,7 @@ export class BranchGitCommand extends QuickCommand { if (state.counter < 4 || state.name == null) { const result = yield* inputBranchNameStep(state, context, { placeholder: 'Please provide a name for the new branch', - titleContext: ` ${GitReference.toString(state.reference, { capitalize: true, icon: false })}`, + titleContext: ` from ${GitReference.toString(state.reference, { capitalize: true, icon: false })}`, value: state.name ?? GitReference.getNameWithoutRemote(state.reference), }); if (result === StepResult.Break) continue; diff --git a/src/commands/git/tag.ts b/src/commands/git/tag.ts index fbcda37..28517ff 100644 --- a/src/commands/git/tag.ts +++ b/src/commands/git/tag.ts @@ -235,7 +235,7 @@ export class TagGitCommand extends QuickCommand { if (state.counter < 4 || state.name == null) { const result = yield* inputTagNameStep(state, context, { placeholder: 'Please provide a name for the new tag', - titleContext: ` at ${GitReference.toString(state.reference, { icon: false })}`, + titleContext: ` at ${GitReference.toString(state.reference, { capitalize: true, icon: false })}`, value: state.name ?? GitReference.getNameWithoutRemote(state.reference), }); if (result === StepResult.Break) continue; @@ -273,7 +273,7 @@ export class TagGitCommand extends QuickCommand { ): StepResultGenerator { const step = QuickCommand.createInputStep({ title: appendReposToTitle( - `${context.title} at ${GitReference.toString(state.reference, { icon: false })}`, + `${context.title} at ${GitReference.toString(state.reference, { capitalize: true, icon: false })}`, state, context, ),