Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the option to get and import by SSH with GitHub #7

Merged
merged 4 commits into from Jun 6, 2014

Conversation

moznion
Copy link
Contributor

@moznion moznion commented Jun 5, 2014

Support the option to clone by SSH with GitHub.
Target commands are the following;

  • get

It gets by SSH with GitHub if run get with -p option and the argument isn't absolute URL (means omitted).
e.g.

ghq get -p motemen/ghq

Then ghq uses URL that like so ssh://git@github.com/motemen/ghq instead of https://....

  • import starred

It imports by SSH with GitHub if run with -p option.
e.g.

ghq import starred -p motemen

And -p option has the compatibility with hub(1).

It gets by SSH of GitHub if run `ghq get` with `-p` option
and arguments isn't absolute URL (means omitted).

This option has the compatibility with hub(1).
@motemen
Copy link
Member

motemen commented Jun 6, 2014

nice feature, thanks!

motemen added a commit that referenced this pull request Jun 6, 2014
Support the option to `get` and `import` by SSH with GitHub
@motemen motemen merged commit 3877ce9 into x-motemen:master Jun 6, 2014
@moznion
Copy link
Contributor Author

moznion commented Jun 6, 2014

Thanks 🍖

tricknotes added a commit to tricknotes/ghq that referenced this pull request Jun 6, 2014
Add description about `get` with `-p` option.
This option introduced by x-motemen#7 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants