Multiple github accounts on the same computer?

后端 未结 25 2241
野的像风
野的像风 2020-11-22 02:56

Trying to work on my both my actual \"work\" repos, and my personal repos on git hub, from my computer.

The work account was set up first, and everything works flawl

25条回答
  •  长情又很酷
    2020-11-22 03:42

    Simpler and Easy fix to avoid confusions..

    For Windows users to use multiple or different git accounts for different projects.

    Following steps: Go Control Panel and Search for Credential Manager. Then Go to Credential Manager -> Windows Credentials

    Now remove the git:https//github.com node under Generic Credentials Heading

    This will remove the current credentials. Now you can add any project through git pull it will ask for username and password.

    When you face any issue with other account do the same process.

    Thanks

    refer to image

提交回复
热议问题