就是我每次提交代码或者更新代码的时候都是要我输入密码,比如我执行git push origin lernado或者执行git pull origin lernado的时候都提示要输入密码才可以,有什么办法可以不用数据就能更新呢!求各位指教
git push origin lernado
git pull origin lernado
解决了。谢谢大家的回答,采纳了回答比较详细的@yangxiangming。
闭关修行中......
Your localgit clone ...时候是不是用了https的类型。你重新设置成SSH的类型就可以了。比如github上面选择Clone with SSH复制,然后在本地重新执行git clone
git clone ...
https
SSH
Clone with SSH
git clone
git clone git@github.com:example/example.git
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
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