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

Feat: add alias for ghq get #377

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Feat: add alias for ghq get #377

merged 2 commits into from
Apr 4, 2024

Conversation

Okabe-Junya
Copy link
Contributor

close #374

Feature Description

  • add ghq clone command
    • ghq clone is an alias for ghq get

Example

$ pwd
path/to/ghq (forked)

$ make build && ./ghq clone https://github.com/x-motemen/ghq
     clone https://github.com/x-motemen/ghq -> /Users/junya/src/github.com/x-motemen/ghq
       git clone --recursive https://github.com/x-motemen/ghq /Users/junya/src/github.com/x-motemen/ghq
Cloning into '/Users/junya/src/github.com/x-motemen/ghq'...
remote: Enumerating objects: 3325, done.
remote: Counting objects: 100% (441/441), done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 3325 (delta 243), reused 368 (delta 213), pack-reused 2884
Receiving objects: 100% (3325/3325), 820.82 KiB | 4.80 MiB/s, done.
Resolving deltas: 100% (2024/2024), done.

@Okabe-Junya
Copy link
Contributor Author

friendly ping @Songmu

I would be happy if you take a look this PR. Thank you :D

@Songmu
Copy link
Member

Songmu commented Apr 4, 2024

Thanks.
I'm unsure if ghq needs to resemble the Git command system, but since you made it, I'll merge it.

@Songmu Songmu merged commit ce5049f into x-motemen:master Apr 4, 2024
4 checks passed
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
@Songmu Songmu added the minor label Apr 4, 2024
@Okabe-Junya Okabe-Junya deleted the fix-374 branch April 4, 2024 02:34
@mlavi
Copy link

mlavi commented Apr 4, 2024

I appreciate this, I think of ghq in context of git and it is helpful for reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: ghq clone command
3 participants