Legit is a complementary command-line interface for Git, optimized for workflow simplicity. It is heavily inspired by GitHub for Mac.
Feature branch workflows are dead simple.
$ git sw <branch> # Switches to branch. Stashes and restores unstaged changes. $ git sync # Synchronizes current branch. Auto-merge/rebase, un/stash. $ git publish [<branch>] # Publishes branch to remote server. $ git unpublish <branch> # Removes branch from remote server. $ git branches [wildcard pattern] # Nice & pretty list of branches + publication status. $ git undo [--hard] # Removes the last commit from history.
If you are using Homebrew:
$ brew install legit
$ pip install legit
To enable the
$ legit --install
Nice and simple — the way it should be.