git记住密码方法

最近学习了怎么使用git clone一键完成作业

但是有个问题就是每次git clone都要重新输入账号密码,这就比较麻烦。

那么有没有办法可以解决呢?

当然有啦直接上代码吧

git bash或者命令行输入这条指令

git config --global credential.helper store

搞定!

猜你喜欢

转载自blog.csdn.net/Walikrence/article/details/83216091