I am using a MacOS, and i have my ssh keys, when I try to git clone from gitLab using git link it works great, it uses my ssh key. But when I try with an http link, it asks me my login and password. and even if I give the login/pwd it doesn't work, because of 2FA. how can I make git uses my ssh key/ or gitLab token to clone repositories ?
Best,