Skip to main content

Commit & staging

Choosing exactly what goes into your next commit, down to individual lines.

  1. Open the commit tab. Every changed file is listed with a checkbox.

  2. Check a file's box to stage the whole thing, or click the file itself to open it line by line.

    the line-level hunk editor with add/remove checkboxes

  3. Type a message, click commit.

    "committed 1 files to main."