Skip to content

Instantly share code, notes, and snippets.

@ktravis
Last active Dec 24, 2015
Embed
What would you like to do?
function for git clone laziness
gitc () {
if [[ $1 == */* ]]; then
git clone https://github.com/$1 $2
else
git clone https://github.com/$1/$2 $3
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment