I can use git on windows to successfully clone the project code from the gitlab service I built without entering a password (supports ssh and http protocols, and can be cloned on windows).
But after changing to Mac, using Xcode’s git, it cannot be cloned. Regardless of ssh or http, a password is required (the username and email configuration has been set, and the mac’s ssh public key has been added to gitlab).
Using mac xcode's git to clone the project on github does not have this problem.
Excuse me, what’s going on?
When
clone
, are you using ssh or https. Don't use https. If you use ssh, you don't need to enter the password every time.