Skip to main content

Sexy Git CLI, Inspired by GitHub for Mac.

Project description

The Concept

GitHub for Mac is not just a Git client.

This comment on Hacker News says it best:

They haven’t re-created the git CLI tool in a GUI, they’ve created something different. They’ve created a tool that makes Git more accessible. Little things like auto-stashing when you switch branches will confuse git veterans, but it will make Git much easier to grok for newcomers because of the assumptions it makes about your Git workflow.

Why not bring this innovation back to the command line?

The Interface

branches

Get a nice pretty list of available branches.

sync

Syncronizes the current branch. Stash, Fetch, Auto-Merge/Rebase, Push, and Unstash.

switch <branch>

Switches to specified branch. Automatically stashes and unstashes any changes.

sprout [<branch>] <new-branch>

Creates a new branch off of the specified branch. Swiches to it immediately.

graft <branch> <into-branch>

Merges specified branch into the second branch, and removes it. You can only graft unpublished branches.

publish <branch>

Publishes specified branch to the remote.

unpublish <branch>

Removes specified branch from the remote.

add & commit are also available, but you should just use git for those.

The Installation

Warning: don’t use this for anything mission critical. It’s still new.

Installing Legit is easy with pip:

$ pip install legit

You’ll then have the wonderful legit command available. Run it within a repository.

Binaries will be available soon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

legit-0.0.8.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file legit-0.0.8.tar.gz.

File metadata

  • Download URL: legit-0.0.8.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for legit-0.0.8.tar.gz
Algorithm Hash digest
SHA256 226f1de1333b46606e4c25d91da9233ffd9a90ba56069c1a8741e46e3aa6c31d
MD5 8db503388bddc5893b2a1c3367ad8341
BLAKE2b-256 0a261c2c5643d35b7b0347f0080ace85ddb383449b6c992761a87a91cce6deb0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page