Skip to content

Instantly share code, notes, and snippets.

@hiqsol
Created January 18, 2016 13:24
Show Gist options
  • Select an option

  • Save hiqsol/3b10366d560fff697e82 to your computer and use it in GitHub Desktop.

Select an option

Save hiqsol/3b10366d560fff697e82 to your computer and use it in GitHub Desktop.
Zsh function for git clone
clone() {
echo git clone [email protected]:$*;
git clone [email protected]:$*;
}
@hiqsol
Copy link
Author

hiqsol commented Jan 18, 2016

Use this way:

clone user/repo

which equals to:

git clone [email protected]:user/repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment