3 ms·
I just tried to git clone it with $ sudo git clone git@github.com:facebook/PathPicker.git Cloning into 'PathPicker'... Permission denied (publickey
by function_seven 11y ago
I just tried to git clone it with
$ sudo git clone git@github.com:facebook/PathPicker.git
Cloning into 'PathPicker'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Any ideas? Thanks.
EDIT: Nevermind. It's an issue with using sudo to git. I can use my own account, but I can't do it in /usr/local.
- motoboi 11y agoJust try using git over https. You probably have your own key to github.com and the server will access deny it when accessing someone else's repo.