diff --git a/src/commands/git/tag.ts b/src/commands/git/tag.ts index b9a1ae1..8b61530 100644 --- a/src/commands/git/tag.ts +++ b/src/commands/git/tag.ts @@ -383,7 +383,7 @@ export class TagGitCommand extends QuickCommandBase { void state.repo.tag( ...state.flags, - ...(hasMessage ? [state.message] : []), + ...(hasMessage ? [`"${state.message}"`] : []), state.name, state.reference.ref );