richsoni / git-witit

Don't Be Caught Without These 27 SpottieOttieDopaliscious Aliases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Git Up, Git Out

git commit and git init are two of the slickest sounding commands the program offers. Of all the 155 commands git offers (in version 2.2.1), there are only 5 that rhyme with git (commit, cvsexportcommit, init, verify-commit, mailsplit). In that set, commit and init are the only two commonly used frequently.

Git is an easy word to find rhymes, and it is a share there are not more rhyming commands. Git WitIt provides 27 commands proxies that rhyme with git, making a workflow more pleasurable.

Take Notes On How I Grep't

admit merge
aquit blame
befit cherry-pick
bit grep
chit shortlog
emit push
fit rerere
flit stash
it checkout
kit config
knit rebase
legit pull
mitt fetch
nit prune
omit rm
permit add
pit bisect
refit clone
remit diff
shit revert
sit tag
skit log
split branch
sprit mv
unfit reset
witit status
writ reflog

...Go Ahead And Marinate On That For A Minute

#Installation

Here is the quick way to Git WitIt.

# put the two and two together
$ cd path/to/a/folder/you/choose
$ wget tk
$ git config --global --add include.path `pwd`/gitwitit.inc

Enjoy using Git WitIt, you should be done.

Test it by typing git witit in a git repository.

The Details

The above steps should seamlessly install git witit, but some environments may need customization. Here are the dirty details, for exotic set up situations.

gitwitit.ini

A list of rhyming aliases to teach git. Save it to some place, or even include it right inside of your .gitconfig

;; gitwitit.ini ;;
[alias]
  admit=merge
  aquit=blame
  befit=cherry-pick
  bit=grep
  chit=shortlog
  emit=push
  fit=rerere
  flit=stash
  it=checkout
  kit=config
  knit=rebase
  legit=pull
  mitt=fetch
  nit=prune
  omit=rm
  permit=add
  pit=bisect
  refit=clone
  remit=diff
  shit=revert
  sit=tag
  skit=log
  split=branch
  sprit=mv
  unfit=reset
  witit=status
  writ=reflog

Include The File

To include it, the .gitconfig needs an include pointing to the path:

;;.gitconfig;;
...
[include]
  path=~/dotfiles/git/gitwitit.ini;
...

http://www.reddit.com/r/hiphopheads/comments/1lpv6a/i_am_big_boi_rapper_musician_actor_producer_ask/cc1llr0

About

Don't Be Caught Without These 27 SpottieOttieDopaliscious Aliases