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.
Metadata
Release files for legit 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| legit-0.0.6.tar.gz | 6.5 kB | Without provenance | Details for legit-0.0.6.tar.gz |
Release files / legit-0.0.6.tar.gz
| Download URL | legit-0.0.6.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01936cb1e8b3f3a81abbdc1c6ddb4089286320078ee9ef14fcc3632666f2afa1
|
|
BLAKE2b-256 checksum How to use checksums |
e8e8b5ef81f80bcf44f5e9f5e243633e81e04b9a5f0753beaf4165e0371e6702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for legit 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.