Github repository not cloning using gh cli #3845
-
I want to clone my public repository from Github to my local system using gh official cli. I copied the following command from the repo (green code button) button and also followed the official documentation -
But the repository does not clone, but instead, the command returns the following output on the terminal.
I also executed gh auth login and logged in. But still, the command returns the same output. I can clone the same repository using following command
I am using Ubuntu 18.04. How can I clone the repository using gh. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, you should not use
As far as I am aware, none of our official documentation ever says to use Explanation: |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response @mislav I ran the command without sudo but now I get following error -
EDIT : Reply from @cristiand391 solved the issue. |
Beta Was this translation helpful? Give feedback.
Thank you for the response @mislav
I ran the command without sudo but now I get following error -
EDIT : Reply from @cristiand391 solved the issue.