Git保存密码

保存密码git

$ git config --global credential.helper store

参数 --global 设置全局,若是用 --local 则只设置当前库bash

要注意保存时是用明文保存的,因此不要在公用电脑使用code

相关文章
相关标签/搜索