找到~目录下的 .gitconfig
添加:
[credential]
helper = store
即可
或者:
-
git config --global credential.helper store
-
再次推送到origin仓库,输入name和密码
-
密码就会保存到相应的地方 ~/.git-credentials
找到~目录下的 .gitconfig
添加:
[credential]
helper = store
即可
或者:
git config --global credential.helper store
再次推送到origin仓库,输入name和密码
密码就会保存到相应的地方 ~/.git-credentials