Visual Studio 2013 GitHub [英] Visual Studio 2013 GitHub

查看:217
本文介绍了Visual Studio 2013 GitHub的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2013将来源与特定帐户同步到GitHub,但在尝试创建另一个帐户时出现以下错误。



发生错误。详细消息:libgit2引发了一个错误。类别=净(错误)。响应状态码不表示成功:403禁止)。



请别人知道它是什么? 使用HTTP debbuging代理服务器(即fiddler),并尝试将您的提交与Visual Studio(适用于Git扩展的Visual Studio工具)同步。在我的情况下,我意识到我已经登录了另一个git帐户,并且VS尝试使用该帐户登录(请求:对repo / repo.git拒绝给UserX的权限)。

因此,我运行'rundll32.exe keymgr.dll,KRShowKeyMgr'并擦除我的凭据(也许只有更新可以)。当我尝试再次同步时,VS要求提供凭据,并且一切正常。


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?

解决方案

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.

这篇关于Visual Studio 2013 GitHub的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆