1

我在 Windows 10 机器上使用 GitKraken 1.8.0 连接 TFS 2015,当我尝试做(推、拉、取)时,我总是收到 toast 消息错误说

无法识别的允许类型:8

但是,我可以使用 CLI 或 Source Tree 成功完成这些操作。

这个问题的原因是什么!?以及如何克服它!?

4

4 回答 4

1

首先断开连接并重新连接您的 TFS 帐户,然后重试。也尝试清除 TFS 缓存

连接 TFS2015 时尝试直接使用 Visual Studio 和 GIT。如果这也可以工作,并且由于您可以使用 CLI 或 Source Tree 成功执行操作,那么问题应该与 GitKraken 有关。

要使用 Gitkraken,请连接其他远程 Git 存储库,例如托管在 GitHub 上的存储库。如果您仍然遇到相同的错误。您可能需要尝试重新安装 GitKraken。

于 2016-10-20T06:12:56.203 回答
0

事实证明,不同域上的 TFS 并将我的计算机连接到该域解决了问题,现在一切正常。

错误消息没有说太多,但我猜Unrecognized allowed types:8错误消息是某种身份验证错误,使用 [domain\username] 格式的用户名在这种情况下不起作用

于 2016-10-24T16:49:57.980 回答
0
  1. 生成 GitKraken 密钥,步骤是 Preference -> Authentication,选择 General 选项卡,然后按 Generate new Private/Public key “Generate” 按钮。
  2. 按复制图标按钮复制您的 gitkraken_rsa.pub 密钥。(SSH 公钥项)
  3. 将您的密钥粘贴到 TFS 服务器中。
  4. Copy your project SSH path from TFS to your Gitkraken Remote push/pull path and be careful there is no unnecessary ".git" word behind your path, if there is, delete it.
  5. Try to Git Fetch/Pull/Push by GitKraken!
于 2019-08-13T04:07:22.293 回答
0

I know this is very old thread, but in case any of the mentioned solutions doesn't work for future readers, especially if you are NOT using any kind of integrations inside GitKraken, go to Credential Manager (Windows users) and under "Windows Credentials" -> "Generic Credentials" try to find your "git:" that is causing this issue and update the password to correct one for your git credentials.

于 2020-12-09T08:08:08.117 回答