I already have a username and ssh key setup on my local git repo that allows me to push to public github for school projects.
however, my job has given me access to a privately hosted gitlab project. I generated a second ssh key and linked it to the new work login for the private project.
When I try to clone the project down from the private gitlab, It says "Permission denied (publickey)" and I am pretty sure this is because my computer is still using the public login info.
how on earth do I switch between the two?
Thank you in advance :)