How to remove cached credentials from Git?

前端 未结 5 1224
臣服心动
臣服心动 2021-01-30 20:43

I ran:

$ git config credential.helper store

And then:

$ git push origin master

After pushing, I entered my creden

5条回答
  •  無奈伤痛
    2021-01-30 20:56

    Run the following command in the terminal to remove your credentials stored in the cache

    git config --global --unset credential.helper
    

提交回复
热议问题