如何在Ubuntu下解決Git保存用戶名和密碼呢姥饰?
打開Git 配置文件,該文件中保存著所有的配置信息
vim ~/.gitconfig
修改配置文件,添加下面這一行引瀑。
[credential]
helper = store
記住密碼
helper = store #用來保存密碼,提交一次會自動記住
密碼保存一個小時
helper = cache -- timeout 3600 # 密碼只保存一個小時
如何在Ubuntu下解決Git保存用戶名和密碼呢姥饰?
vim ~/.gitconfig
[credential]
helper = store
helper = store #用來保存密碼,提交一次會自動記住
helper = cache -- timeout 3600 # 密碼只保存一個小時