Visual Studio 2013 GitHub

I sync sources to GitHub using Visual Studio 2013 with a particular account, but the following error when trying to come up with another account occurs.

An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error). Response status code does not Indicate success: 403 Forbidden).

Please someone you idea what it is?

  • Visual Studio 2013 Tools for GIT - cannot publish an unpublished branch
  • vs2013 shows file checked in, but in git status the file is untracked
  • Visual Studio ignores *.jfm entry in the gitIgnore file
  • Visual Studio pending changes window like ANKHSVN with GIT
  • Is it possible to mix TFS and GIT Extensions/TortoiseGit in the same solution?
  • What are the big differences between TFS and Git for source control when using Visual Studio 2013?
  • Error encountered while pushing to the remote Git repository
  • How can I migrate Team Foundation Server 2013 Work Items to a new TFS Git Repository?
  • 4 Solutions collect form web for “Visual Studio 2013 GitHub”

    You should use a HTTP debbuging proxy server (i.e. fiddler), and try to synchronize your commit with Visual Studio (Visual Studio Tools for Git extension). In my case I realized that I was logged with another git account and VS tries to login with that account (Request: Permission to repo/repo.git denied to UserX).

    So I run ‘rundll32.exe keymgr.dll,KRShowKeyMgr’ and erase my credentials (maybe only update could works). When I tried to sync again, VS ask for credentials and everything works fine.

    Check on your local project path the config file allocated in .git folder. It should be something like this:

       bare = false
       repositoryformatversion = 0
       filemode = false
       symlinks = false
       ignorecase = true
       logallrefupdates = true
    [remote "origin"]
       url =
       fetch = +refs/heads/*:refs/remotes/origin/*
    [branch "master"]
       remote = origin
       merge = refs/heads/master

    Equally, be sure, that you have permissions on the reopsitory on GitHub web.

    I hope that it helps you. 😉

    I receive this error typically in a team environment when my team leads ‘forgot’ to give me rights to the GitHub repos.

    My one cent:

    Add your second account as a collaborator to the repository. To add a collaborator, go to repository settings page -> collaborators.

    Git Baby is a git and github fan, let's start git clone.