Commit and Sync

In VS Code (or Codespaces), you can commit and sync your changes to GitHub directly from the editor.

  1. Open Source Control (branch icon on the left).
  2. Stage your changes (click + on files or Stage All by clicking the "+" icon next to the "Changes" label).
  3. Type a short, but descriptive, commit message, for example: phase 1 code complete.
  4. Click Commit, then click Sync (or Push).

Pro Tip: You can also commit and sync from the terminal: git commit -m "phase 1 complete" && git push