Lem
GitHubDiscord Matrix Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Build a legit binary

Lem/legit is a UI for Git (and, to a lower extent, Mercurial and Fossil).

We call it from Lem with Alt-x legit.

Here we’ll build a legit binary, so that we can quickly call it from the terminal on a current project.

After you installed Lem from sources, run this make target:

make legit

This creates a legit binary at the project root.

You can copy it to ~/.local/bin/ or create a symlink:

ln -s /path/to/lem/legit ~/.local/bin/legit

Now, simply run legit on a project:

$ legit

to see its status, and start working.

This Git UI isn’t only a UI, it’s a complete code editor.