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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for legit-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6487fc9bf8b33ea4a1e0ea7a30b18adc81d93f4007e5f41777cabfb6999688ea
MD5 4dab17f6d56564fb3c73d8587ef3e2be
BLAKE2b-256 43723564b624e39adb9bae3d37dcf6d1d9089d1a30071d4b96b3f954b21a96ba

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