Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Created March 22, 2017 09:42
Show Gist options
  • Save marek-saji/dba61404b854e65874d6e4b51c72ea5b to your computer and use it in GitHub Desktop.
Save marek-saji/dba61404b854e65874d6e4b51c72ea5b to your computer and use it in GitHub Desktop.
gi ()
{
if [ "t" != "${1:0:1}" ]
then
false
else
argv=("$@")
argv[0]="${argv[0]:1}"
git "${argv[@]}"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment