git 相关知识

清除缓存

清除缓存的账号密码等信息,下次 git push 或 git pull 的时候需要重新输入账号密码

git config --local --unset credential.helper
git config --global --unset credential.helper
git config --system --unset credential.helper

避免每次都输用户名和密码

git config --global credential.helper store
posted @ 2023-03-22 14:01  bhxuwei  阅读(21)  评论(0)    收藏  举报