GitHub authentication failing over https, returning wrong email address

前端 未结 8 1466
半阙折子戏
半阙折子戏 2020-12-07 09:24

Initiating a push or any other action with GitHub from the command line (over https, not ssh) that calls for the username and password not only fails but, when it does, it r

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 10:07

    [Mac only]

    If you need to delete your authentication, use

    git credential-osxkeychain erase
    host=github.com
    protocol=https
    

    on Mac.

    See https://help.github.com/articles/updating-credentials-from-the-osx-keychain/

提交回复
热议问题