I am new to linux and I am trying to clone a project into a folder that am currently in contained in opt/lampp/htdocs
using the command git clone git@gitlab.com:whatever .
but i am getting a permission denied error. What can i do to resolve this issue
try to give full permission to your htdocs folder
sudo chmod 777 opt/lampp/htdocs
Then it will ask for password enter and go ahead. learn More Here :)