Skip to content

Source control (Git)

Source Control on the left (⌃⇧G) handles Git. In a folder that isn’t tracked yet, click Start Git to begin.

Changed files are listed; click one to see what changed (the diff). Show the diff Side by Side or Unified.

  1. Check the files to include. You can include individual blocks of a diff (hunks), too
  2. Write a message in the field at the top. The button beside it asks Folto AI to draft one (it sends the diff going into the commit; it doesn’t commit)
  3. Click Commit

Throw away unwanted changes per file or per hunk with Discard Changes… (this can’t be undone, so check first).

  • Switch or create branches from the branch name at the top
  • Pull, Push, and Sync (pull, then push) from the indicator on the right. Pushing asks first (Settings › Editor › Confirm before push)
  • Set work in progress aside with Stash Changes and bring it back with Pop