Branch name always adds slash to branch prefix

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Despite changing the setting for branch prefix to not contain slashes, the branch name is created as <branch_prefix> + “/” + <random_part>.

Branch names containing slashes are problematic in general and in our case fully undeployable, so it breaks our feature-branch deployment options.

Please respect the prefix fully. If the user wants slashes it can be added there (as the default config does).

Steps to Reproduce

Remove slash from branch prefix, observe branch name.

Expected Behavior

No slashes when not contained in branch prefix

Operating System

MacOS

Version Information

Version: 3.4.16
VSCode Version: 1.105.1
Commit: f736016b0aa20ba1f99b7eec1dda48579fa4c290
Date: 2026-05-13T16:57:36.546Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hi @alexandrosandre,

This is a known bug. There’s no workaround at the moment. Our team is aware of this, and it’s being tracked for a fix. Thanks for reporting it, I’ll update this thread when the fix is out.

@mohitjain a related “bugfix” would be to allow us to disable the branch prefix completely, is that also on the roadmap?

This is a separate request from the original bug here (which is about the forced / separator). Disabling the prefix entirely isn’t currently possible - even clearing the field defaults it back to cursor/.

Could you create a new thread for this as a feature request? That way it gets proper visibility and our team can track interest independently from the slash fix.

I did so here, please let me know if there’s more info needed: Allow disabling branch prefix ("cursor/") for Cloud Agent