Sunday, 25 February 2024

Visual Studio Code | You don't have permissions to push username/repository on GitHub

If you get the following error message when you are trying to commit code from Visual Studio Code to GitHub Repo. The following is an easy fix:

[Step # 1] Go to your control panel -> Credential Manager:


[Step # 2] remove all the GitHub related credentials.

[Step # 3] Then go back to Visual Studio Code and try to commit your code again.

[Step # 4] You will be given a pop-up screen to login to GitHub. Do it and it will solve this problem. 


No comments:

Post a Comment

Using Handlebar Prompt in Semantic Kernal

> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...