Stage changes and create a Git commit

Select saved changes, review the staged files and create a local commit in the Windows app.

In the Windows app, open a Git-backed project in a folder on your PC and save your editor changes. You can use local Git without signing in.

Select saved changes

  1. Open Source Control and choose Refresh.

  2. Select a file in Changes or Untracked to review its comparison.

  3. Choose Stage beside each file you want in the commit.

Review staged files

  1. Select each file in Staged and review its comparison.

Create the commit

  1. Enter a description in Commit message and choose Commit.

  2. If author details are requested, enter Author name and Author email, then choose Save and commit. These details are saved in this repository.

  3. Choose Refresh to check the remaining changes, then open History to confirm the new commit.

The commit is stored in the local repository. Sign in to connect a Git account and use remote Git actions.

Read the source control guide for local Git and remote account setup.