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 <off-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.6.tar.gz (6.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for legit-0.0.6.tar.gz
Algorithm Hash digest
SHA256 01936cb1e8b3f3a81abbdc1c6ddb4089286320078ee9ef14fcc3632666f2afa1
MD5 f3c8a78591b965e5b6c874611cdbb447
BLAKE2b-256 e8e8b5ef81f80bcf44f5e9f5e243633e81e04b9a5f0753beaf4165e0371e6702

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