-
Notifications
You must be signed in to change notification settings - Fork 2
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
Snap Version unable to clone over HTTPS due to being "Unable to find remote helper for 'https'" #5
Comments
still facing same issue on Ubuntu 21.04
|
Also facing the same error on Ubuntu 21.04 with version 1.10.2-15
|
Added parseArgs() function, beginning to work on parseFlags() functions
I kept getting the same on the snap or apt-get package - $ gh repo clone an_r-package
2021/07/28 00:10:06.266593 cmd_run.go:1011: WARNING: cannot start document portal: dial unix /run/user/1000/bus: connect: permission denied
Cloning into 'an_r-package'...
warning: templates not found /usr/share/git-core/templates
fatal: Unable to find remote helper for 'https'
exit status 128 I was able to get this working by doing the curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh https://github.com/cli/cli/blob/trunk/docs/install_linux.md which gave the same version 1.13.1. The snap package and the default ubuntu package seems to be the same. Distributor ID: Ubuntu |
I try to follow your instruction still can't fixed yet |
Describe the bug
When using the CLI from Snap latest and using HTTPS, cloning repositories fails with the error "fatal: Unable to find remote helper for 'https'".
Version:
gh version 1.8.1-51-g37ecdb93 (2021-04-09)
https://github.com/cli/cli/releases/latest
OS:
Name: Manjaro Linux
Version: 21.0 (Ornara)
Codename: Ornara
Steps to reproduce the behavior
snap install --edge gh
gh auth login
choosing HTTPS as the protocolgh repo clone Unkn0wnCat/Unkn0wnCat.net
Expected vs actual behavior
The CLI is supposed to clone the repo into a local directory, but instead it errors out due to not finding a remote helper for https.
Logs
The text was updated successfully, but these errors were encountered: