All Projects → frostming → Legit

frostming / Legit

Licence: other
Git for Humans, Inspired by GitHub for Mac™.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Roff
2310 projects

Projects that are alternatives of or similar to Legit

Circleci Cli
Use CircleCI from the command line
Stars: ✭ 297 (-94.77%)
Mutual labels:  cli, tool
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (-93.52%)
Mutual labels:  cli, tool
Frankenstein
Correct README Redirects
Stars: ✭ 305 (-94.63%)
Mutual labels:  cli, tool
Fastify Cli
Run a Fastify application with one command!
Stars: ✭ 260 (-95.42%)
Mutual labels:  cli, tool
Npkill
List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space.
Stars: ✭ 5,325 (-6.28%)
Mutual labels:  cli, tool
Onefetch
Git repository summary on your terminal
Stars: ✭ 3,680 (-35.23%)
Mutual labels:  cli, tool
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+249.37%)
Mutual labels:  cli, tool
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (-50.35%)
Mutual labels:  cli, tool
Jtc
JSON processing utility
Stars: ✭ 425 (-92.52%)
Mutual labels:  cli, tool
Phpinsights
🔰 Instant PHP quality checks from your console
Stars: ✭ 4,442 (-21.82%)
Mutual labels:  cli, tool
Musoq
Use SQL on various data sources
Stars: ✭ 252 (-95.56%)
Mutual labels:  cli, tool
Ferret
Declarative web scraping
Stars: ✭ 4,837 (-14.87%)
Mutual labels:  cli, tool
Iponmap
commandline IP location finder
Stars: ✭ 250 (-95.6%)
Mutual labels:  cli, tool
Teip
Select partial standard input and replace with the result of another command efficiently
Stars: ✭ 280 (-95.07%)
Mutual labels:  cli, tool
Hiper
🚀 A statistical analysis tool for performance testing
Stars: ✭ 2,667 (-53.06%)
Mutual labels:  cli, tool
Pastel
A command-line tool to generate, analyze, convert and manipulate colors
Stars: ✭ 3,742 (-34.14%)
Mutual labels:  cli, tool
Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (-96.34%)
Mutual labels:  cli, tool
Code Minimap
🛰 A high performance code minimap render.
Stars: ✭ 235 (-95.86%)
Mutual labels:  cli, tool
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (-16%)
Mutual labels:  cli, tool
Org Formation Cli
Better than landingzones!
Stars: ✭ 471 (-91.71%)
Mutual labels:  cli, tool

Legit: Git for Humans

Inspired by GitHub for Mac.

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

switch <branch>
Switches to specified branch. Defaults to current branch. Automatically stashes and unstashes any changes. (alias: sw)
sync [<branch>]
Synchronizes the given branch. Defaults to current branch. Stash, Fetch, Auto-Merge/Rebase, Push, and Unstash. You can only sync published branches. (alias: sy)
publish [<branch>]
Publishes specified branch to the remote. (alias: pub)
unpublish <branch>
Removes specified branch from the remote. (alias: unp)
undo
Un-does the last commit in git history. (alias: un)
branches [<wildcard pattern>]
Display a list of available branches. Allows wildcard pattern matching of branch name.

The Installation

https://repl.it/badge/github/frostming/legit

From PyPI with the Python package manager:

pip install legit

Or download a standalone Windows executable from GitHub Releases.

To install the cutting edge version from the git repository:

git clone https://github.com/frostming/legit.git
cd legit
python setup.py install

Note: if you encountered Permission denied, prepend sudo before the pip or python setup.py command.

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

To view usage and examples, run legit with no commands or options:

legit

To install the git aliases, run the following command:

legit --install

To uninstall the git aliases, run the following command:

legit --uninstall

Command Options

All legit commands support --verbose and --fake options.

In order to view the git commands invoked by legit, use the --verbose option:

legit sync --verbose

If you want to see the git commands used by legit but don't want them invoked, use the --fake option:

legit publish --fake

Caveats

  • All remote operations are carried out by the remote identified in $ git config legit.remote remotename
  • If a stash pop merge fails, Legit stops. I'd like to add checking for a failed merge, and undo the command with friendly error reporting.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].