nathanKramer / lit-git

Dank git aliases, for a VCS workflow that reads like plain english

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lit Git

Dank Git aliases for a VCS workflow that reads like plain english:

$ lit yolo-plop origin branchy

Lit Git

Installation

$ git clone git@github.com:nathanKramer/lit-git.git lit-git-tmp; source lit-git-tmp/lit-git.sh; rm -rf lit-git-tmp

Usage

Important note for proper usage

To make ur git experience dank AF, you need to alias git to lit:

$ echo "alias lit='git'" >> ~/.bashrc

Assuming you a swish MF and u aliased to lit:

# Clone a repo. We fork repos so why not spoon one too?
$ lit spoon git@github.com:nathanKramer/lit-git.git
# Make a baby repo
$ lit baby
# Stash some work, checkout a new branch, pop it
$ lit booty
$ lit wibble-wobble branchy
$ lit booty pop
# Reset your files back to HEAD
$ lit heck HEAD --hard
# Make your commits fight to the death
$ lit who-would-win <BRANCH_NAME>
# Show your most recent commit
$ lit cheeky-peek
# Show your commit log
$ lit time-cube
# Push your work with no respect for ur surroundings:
$ lit yolo-plop
# Check ur status m8
$ lit fam
# Fix up a commit and keep the old commit message
$ lit uwot -a

About

Dank git aliases, for a VCS workflow that reads like plain english


Languages

Language:Shell 100.0%