Operating with a work profile (ADO) and personal profile (GitHub)

Hi guys and gals!

Quick question on profiles. I have a default work profile that’s associated with our corporate ADO repo and git, and logged in with my work Enterprise subscription.

I need to setup a personal profile that’s connected only to my personal GitHub account via my Pro+ subscription.

What’s the easiest way to achieve this? Does anyone else run this setup?

Thanks for the help!

Gareth

Hey, Gareth. Short answer: Cursor can only keep one signed-in account at a time right now, so you can’t set up a fully isolated personal profile with a separate Pro+ subscription inside the same install. Switching between Enterprise and Pro+ is sign out and sign in via Cursor Settings > Account.

What you can do to make it easier:

  1. VS Code Profiles File > Preferences > Profiles can separate settings, extensions, and keybindings for work vs personal. They don’t affect your Cursor subscription, but they help keep your workspace clean.
  2. Git identity per directory using includeIf in ~/.gitconfig:
    [includeIf "gitdir:~/work/"]
        path = ~/.gitconfig-work
    [includeIf "gitdir:~/personal/"]
        path = ~/.gitconfig-personal
    
    In each included file, set your own user.name and user.email, and optionally a separate SSH key via core.sshCommand. This way commits to ADO and GitHub automatically use the right identity without manual switching.
  3. SSH config: use different hosts like github.com-personal and ssh.dev.azure.com with different keys, so auth doesn’t conflict.

For the one-click account switching feature, the request has been around for a while. You can upvote and track it here: Seamless Account Switching in Cursor. It’s not on the roadmap right now, so the workaround above is the best option for now.

Thanks Dean! Much appreciated.