Remove credentials from Git

后端 未结 30 1712
不知归路
不知归路 2020-11-21 10:13

I\'m working with several repositories, but lately I was just working in our internal one and all was great.

Today I had to commit and push code into other one, but

30条回答
  •  盖世英雄少女心
    2020-11-21 10:29

    Retype:

    $ git config credential.helper store
    

    And then you will be prompted to enter your credentials again.

    WARNING

    Using this helper will store your passwords unencrypted on disk

    Source: https://git-scm.com/docs/git-credential-store

提交回复
热议问题