desktop: I can't connect to my own repository; I have never changed the default security settings.

I am trying to setup my local Git repository so I can push updates to my GitHub repository. I am currently logged into GitHub, on the same machine that my local Git is on. I just went through the steps in the desktop app, (yes I am signed into the app with the same account) and was able to stage and compare, but I cannot commit; I get a message saying I don’t have permission?? It’s mine! I looked everywhere in GitHub settings, I don’t see any additional permissions I could possibly give myself.

“Authentication failed. You may not have permission to access the repository. Open options and verify that you’re signed in with an account that has permission to access this repository.”

GitHub Desktop Version 0.7.2 Windows 10

GitHub Desktop version: 0.7.2

OS version: Windows 10

Steps to Reproduce

  1. Log into GitHub Desktop
  2. Add local repository
  3. Write summary and description
  4. Leave default branch: master
  5. Click “Publish branch”
  6. Receive error message: “Authentication failed. You may not have permission to access the repository. Open options and verify that you’re signed in with an account that has permission to access this repository.”

The help documentation had nothing to suggest that I did not already do.

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Reproduces how often: [What percentage of the time does it reproduce?]

Logs

No log was generated today.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (6 by maintainers)

Most upvoted comments

@I-keep-trying there’s a couple of things I’d like you to check to confirm nothing unexpected is occurring with your setup:

  1. From the app, could you open View | Toggle Developer Tools when this occurs and share the underlying error? It should be logged to the console.

  2. From the app, could you open File | Options and confirm you have a GitHub account registered? This is what my setup looks like:

  1. From the Start Menu, could you open Credential Manager, select the Windows Credentials tab and see if there are any GitHub credentials listed under the “Generic Credentials” group? This is what it looks like on my machine: