New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

git-pretty

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-pretty

An implementation of Justin Hileman's chart from "Changing History, or How to Git Pretty"

latest
Source
npmnpm
Version
5.0.0
Version published
Maintainers
1
Created
Source

git-pretty

An implementation of Justin Hileman's handy chart for finding the suitable git operation.

… with some additions!

git-pretty GIF

Use

Just run

npx git-pretty

This opens an interactive session like this:

So you have a mess on your hands. What sort of mess?

1: An uncommitted mess
2: I accidentally committed something
3: My Git history is ugly
4: I have a bunch of old branches I want gone
5: I want to sync my fork with the original repo
>

Install

If you need this kind of help often, you could install git-pretty globally:

npm i -g git-pretty

Then you can drop npx and run

git-pretty

Using npx is recommended though, because it always uses the latest version.

Node JS?

Wasn't this a Python package, installable through pip?

Yes it was! But now it's a Node package, installable through npm. Ah, how things change through life.

FAQs

Package last updated on 20 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts