git-1337

0.0.1 • Public • Published

git 1337

Customize your git commit hashes (to an extent)


How it works

Git's commit hashes take a bunch of inputs, one of them is time. By calculating hashes of a commit, with its time altered, we get random commit hashes cheaply. Thus, we can alter a commit's hash without ruining our repository with junk placed somewhere crazy.

Use/Installation

# One-time use (no install, just node/npm and git required)
npx git-1337

Or for more extended use:

# Install globally
npm i -g git-1337
# Use from now on
git 1337

Caveats

This is just a proof of concept right now, not exactly going for perfection in implementation or UX here. There is nothing really that can be done here besides coming up with random hashes, read the code behind it to see how it works (it's not much).

Package Sidebar

Install

npm i git-1337

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

5.83 kB

Total Files

6

Last publish

Collaborators

  • wlib