means that every time I submit code or update code, I am asked to enter a password. For example, when I execute git push origin lernado
or git pull origin lernado
, I am prompted to enter a password. Is there any way to do it without data? Update! Please give me some advice
Solved. Thank you everyone for your answers. I adopted @yangxiangming who gave a more detailed answer.
Your local
git clone ...
时候是不是用了https
的类型。你重新设置成SSH
的类型就可以了。比如github上面选择Clone with SSH
复制,然后在本地重新执行git clone
Hope it helps you
Submit using ssh and configure the ssh key. There are tutorials on github. If it is gitlab, there are also tutorials on it.
Reconfigure the secret key
Add the local ssh public key to your gitlab
https method to encrypt and save user passwords. If your operating system is Linux, you can refer to this
Please refer to this link https to save the password for details