How to remove cached credentials from Git?

前端 未结 5 1226
臣服心动
臣服心动 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:59

    If you would like the daemon to exit early, forgetting all cached credentials before their timeout, you can issue an exit action, run the following command.

    git credential-cache exit

提交回复
热议问题