Legit – Git Workflow for “Humans”

'Legit for git' logo


Legit – simplifying git by reducing its workflow to only couple of instructions

“Legit is a complementary command-line interface for Git, optimized for workflow simplicity. It is heavily inspired by GitHub for Mac.” As I am quoting those words, in March 2014, this OSS project already have 3,055 stars on the counter. I like the idea of reducing the code-revision workflow to snappy 5 commands, and I introduced it to my students recently. There is a small drawback – installing this additions requires sudo on the machine – git-legit is not a part of pypi packaging.

$ git sync
# Syncronizes current branch. Auto-merge/rebase, un/stash.

$ git switch <branch>
# Switches to branch. Stashes and restores unstaged changes.

$ git publish <branch>
# Publishes branch to remote server.

$ git unpublish <branch>
# Removes branch from remote server.

$ git branches
# Nice & pretty list of branches + publication status.