Skip to content

Add alias ghc: Shorthand way to clone repos from GitHub#4624

Closed
jamen wants to merge 1 commit intoohmyzsh:masterfrom
jamen:master
Closed

Add alias ghc: Shorthand way to clone repos from GitHub#4624
jamen wants to merge 1 commit intoohmyzsh:masterfrom
jamen:master

Conversation

@jamen
Copy link

@jamen jamen commented Nov 18, 2015

Example:

ghc jamen/sandbox

@brookskindle
Copy link

Have you heard about hub? It provides this same functionality with a much greater flexibility. With it you can git clone jamen/sandbox or even git clone sandbox.

Disclaimer: I'm not associated with oh-my-zsh -- just stumbled upon it. I'm also not associated with hub, either.

@jamen
Copy link
Author

jamen commented Nov 18, 2015

I have heard of hub (that's actually partially what inspired me to make this), however I don't believe hub is included with oh-my-zsh by default (maybe because hub is made in Go), but it is supported it through the git plugins.

I thought it would be nice to have a simple little function by the get-go.

@mcornella mcornella added new Topic: alias Pull Request or issue regarding aliases labels Mar 30, 2016
@jamen jamen closed this Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Topic: alias Pull Request or issue regarding aliases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants