Version control

Version control

Texpile has git built in, so keeping a paper's history does not mean leaving the editor for a terminal.

Where to find it
Panel
Source Control The branch icon in the sidebar header.
The Source Control panel: seven staged changes and a commit message box
The Source Control panel: seven staged changes and a commit message box

See what changed

The source control panel lists the files that differ from your last commit, updating as you work.

Stage and commit

Stage or unstage individual files, discard changes you do not want to keep, and commit with a message. If the folder is not a repository yet, Texpile can initialise one for you.

Diff

Compare any changed file side by side against the last commit, in the same window as the editor.

A file diffed side by side against the last commit

This covers the everyday loop rather than all of git. For branches, remotes, and history rewriting, the built-in terminal is one panel away.