Friday, February 7, 2020

Problem with github: permission denied to your own repo In Windows!! ??

Using multiple GitHub Accounts on Windows sucks by default. If you are tired of Window's Credential Manager storing only one account's credential for git:https://github.com then here is a 1-minute fix for you.

TL;DR

If you know what you're doing just:

  • delete your GitHub credentials from Windows Credential Manager
  • run git config --global credential.github.com.useHttpPath true
  • continue coding

If you need more detailed instructions and learn about the background just read on here: https://dev.to/configcat/lazy-man-s-guide-multiple-github-https-accounts-on-windows-2mad



No comments:

Post a Comment