git Gitkraken 桌面应用程序 - 登录错误:“请登录以继续”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40177413/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 12:22:13  来源:igfitidea点击:

Gitkraken Desktop App - Error login: "Please log in to continue"

gitgithubsourcetreegitkraken

提问by 1antares1

Who has been working with client GitKraken as GIT, you will know that authentication required?

谁一直在用客户端 GitKraken 作为 GIT,你会知道需要身份验证吗?

For the application, log in with: [email protected]

对于应用程序,登录:[email protected]

The repository is with: [email protected]

存储库位于:[email protected]

It requires credentials to make a pull, but I tried with both emails and usernames, and does not allow me.

它需要凭据才能进行拉取,但我尝试使用电子邮件和用户名,但不允许我这样做。

Capture: enter image description here

捕获: 在此处输入图片说明

In SourceTreeit works perfectly, but here not!. Thanked fully!.

SourceTree 中它工作得很好,但在这里不是!。万分感谢!

回答by Roet

The credentials asked for, are the credentials for the repo you are trying to access, not for your Gitkraken account, which is very confusing.

要求的凭据是您尝试访问的 repo 的凭据,而不是您的 Gitkraken 帐户的凭据,这非常令人困惑。

If you are using visualstudio.com, you would have to generate Git credentials. Do this by browsing to your project, click 'Code' and then on the right top corner, there is a button 'clone'. Press that, a popup opens. In there, click 'generate git credentials'. Fill in a username/password combo and press 'save git credentials'. That combo will now work with GitKraken.

如果您使用的是 visualstudio.com,则必须生成 Git 凭据。为此,请浏览到您的项目,单击“代码”,然后在右上角有一个“克隆”按钮。按那个,一个弹出窗口打开。在那里,单击“生成 git 凭据”。填写用户名/密码组合,然后按“保存 git 凭据”。该组合现在可以与 GitKraken 一起使用。

回答by Todd Brooks

Adding additional information, as this just bit me today.

添加额外的信息,因为这对我来说有点今天。

The login credentials it is requesting are from visualstudio.com (VSTS). Authenticating to VSTS through GitKraken request a personal access token (PAT) or git credentials (as mentioned by user Roet). Personal access tokens can be created through the VSTS web portal, as described in this blog post (no relation): Personal Access Tokens in VSTS

它请求的登录凭据来自visualstudio.com (VSTS)。通过 GitKraken 对 VSTS 进行身份验证请求个人访问令牌 (PAT) 或 git 凭据(如用户 Roet 所述)。个人访问令牌可以通过 VSTS 门户网站创建,如这篇博文中所述(没有关系): VSTS 中的个人访问令牌

回答by jpheos

I think gitkraken have a bug. On version 1.9.3 they specified that

我认为 gitkraken 有一个错误。在 1.9.3 版中,他们指定

Oh dear. Our 1.9.2 update broke fetching, pushing and pulling when connecting to hosts without GitKraken integration (GitLab, etc). This should now be working as expected

哦亲爱的。当连接到没有 GitKraken 集成(GitLab 等)的主机时,我们的 1.9.2 更新中断了获取、推送和拉取。这现在应该按预期工作

I'm on 1.9.3, but I still have the problem Check your version and be patient :)

我在 1.9.3,但我仍然有问题检查您的版本并耐心等待 :)

回答by Alain

see the log files of Gitkraken. It can't access some files on the filesystem ? => run it as administrator => it worked for me

查看 Gitkraken 的日志文件。它无法访问文件系统上的某些文件?=> 以管理员身份运行 => 对我有用