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.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s