I have a project on gitlab which I am trying to clone locally (Windows 7) using
git clone email@example.com:USERNAME/projectname.git
Cloning into 'foldername'...
GitLab: The project you were looking for could not be found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
fatal: unable to access 'https://USERNAME@gitlab.com/USERNAME/projectname.git/`: SSL certificate problem: unable to get the local issuer certificate
This was not working because
%USERPROFILE% was set to some other directory which was not
I was grabbing the
ssh key from
C:\users\user.name\, but this key was actually related to another project and server altogether.
ssh-keygen, I was passing in
%USERPROFILE% as the path, not knowing that the value had changed.