Skip to content
Theme:

Use Cloud Changes in VS Code to sync uncommitted edits between two computers

Released in June 2022 VS Code “Edit Sessions”, later on in November 2022 renamed to “Cloud Changes”, is a little-known feature that allows you to sync your uncommitted changes between multiple instances of Visual Studio Code, either on the web or on the desktop. Hosting a git repository on GitHub or Azure Repos is the sole requirement. No need for “work in progress” commits only to pick up the work on another machine.

  1. Enable the feature on both machines by selecting “Cloud Changes: Turn on Cloud Changes” from the Command Palette Command + Shift + P (macOS) / Ctrl + Shift + P (Windows/Linux). Alternatively, enable it under accounts settings UI.
  2. Run “Cloud Changes: Store Working Changes in Cloud” from Command Palette on the first machine.
  3. Run “Cloud Changes: Resume Latest Changes from Cloud” from Command Palette on the second machine.
A diagram that presents a basic workflow with Cloud Changes feature in Visual Studio Code

It is cool, isn’t it? Did you know about this feature? Stay curious 😘

Comments

  • A
    Alex P

    Is this setting (Cloud Changes) at IDE level or profile level, or workspace level? I wouldn't sync any corporate projects to gists or wherever it's stored, but I'd welcome syncing of open-source, pet and other non-corporate projects

    👆 you can use Markdown here

    Your comment is awaiting moderation. Thanks!
    • Paweł Grzybek
      Paweł Grzybek

      Honestly I don't know, you need to test it out yourself. I don't use VSCode anymore and I cannot test that easily for you at the moment.

      👆 you can use Markdown here

      Your comment is awaiting moderation. Thanks!
      • S
        Sarafin A.

        Did you find something better, or forced to use the other because of working requirements? I would be glad to know if there are any better IDEs.

        👆 you can use Markdown here

        Your comment is awaiting moderation. Thanks!
      • Pawel Grzybek
        Pawel Grzybek

        I went into the modal editor's rabbit hole. I ended up using nvim. The learning curve for someone who has never used a modal editor is huge, but worth the effort. I cannot imagine coming back to a regular editor without vim keybindings now.

        👆 you can use Markdown here

        Your comment is awaiting moderation. Thanks!

Leave a comment

👆 you can use Markdown here

Your comment is awaiting moderation. Thanks!