so I'm trying to clone a repository from git, into a folder i know I have write access in.
I'm trying to clone it using IntelliJ's built in VCS capabilities, and the git bash program from git-scm.com Both of them return the following error:
fatal: could not create work tree dir '<repo name>' :
Permission denied
What am I doing wrong?
Use sudo
sudo git clone <url>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With