git push记住用户名和密码

在Jupyterlab安装了git插件后,管理代码感觉方便了很多,但就是每次git push的时候需要输入用户名和密码。

可以通过credential.helper(凭证助手)来记住Username和Password。

切换到git项目目录下

$ git config credential.helper store
$ git push http://github.com/user/jupyter.git

按照提示输入用户名及密码即可

添加新评论