How do I make Git ask for a username and password every time I push?

时光总嘲笑我的痴心妄想 提交于 2019-12-01 15:11:47
mu 無

It seems that users credentials are being cached.

Go to your project, open .git/config and remove the lines:

[credential]
    helper = store
    # or helper=cache

Check git-credential-store for more information.

haiwuxing

If you use a Windows system, the Git username and password is stored in a control panel. You can go to Control PanelUser AccountsCredential Manager:Generic Credentials to delete it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!