Skip to content

Instantly share code, notes, and snippets.

@alltom
alltom / git-git
Last active August 29, 2015 13:56
git sub-command for removing superfluous "gits" from commands like "git git status"
#!/bin/sh
# translates "git git status" -> "git status"
# install as "git-git" in your path
while [[ $1 == "git" ]]; do
shift
done
git $*