Skip to content

kallmanation/gi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

gi

The Git Interpolator

Simple shell configuration to help with simple typos while typing the git command.

Features

Two aliases it and gti both mapped to git.

The first interpolator gi which removes a leading t from its params before passing them all to git.

A similar interpolator gt which removes a leading i from its params.

A set of other interpolators for all the git* mistakes (like gitr ebase or gita dd .)

Examples

$ it status
# Becomes: git status
...
$ gti pull
# Becomes: git pull
...
$ gi tdiff
# Becomes: git diff
...
$ gi push
# Becomes: git push
...
$ gt icommit
# Becomes: git commit
...
$ gt stash
# Becomes: git stash
...
$ gitr ebase
# Becomes: git rebase
...
$ gitb ranch
# Becomes: git branch

Installation

By clone and source

First, clone this repository somewhere on your machine:

$ git clone git@github.com:kallmanation/gi.git

Then add the following line to your ~/.bashrc or ~/.zshrc or similar:

source path/to/gi/girc

By copy and paste

Open the contents of girc and copy them into your ~/.bashrc or ~/.zshrc or similar.

About

Git Interpolator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors