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

Descriptive error message for anonymous gin get #304

Open
JuliaSprenger opened this issue Jan 7, 2021 · 0 comments
Open

Descriptive error message for anonymous gin get #304

JuliaSprenger opened this issue Jan 7, 2021 · 0 comments

Comments

@JuliaSprenger
Copy link

The gin-cli only permits to get public repositories when being logged in. The error message when trying to get a repository anonymously is

Downloading repository Repository download failed. Internal git command returned: Cloning into <REPO>...
[email protected]: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
 
[error] 1 operation failed

I think it would be helpful to not only state this as a permission denied error, but also provide the hint that logging in using gin login might resolve the issue. This issue is related to #52

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

No branches or pull requests

1 participant