身份验证无法进行位桶化 [英] Authentication failed to bitbucket

查看:83
本文介绍了身份验证无法进行位桶化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Sourcetree在Bitbucket上通过https协议推送我的项目.
但是我无法使用我的登录名和密码(可在网站上使用)连接到bitbucket,但出现致命错误:身份验证失败".

I'm trying to push my project via the https protocol on bitbucket using sourcetree.
But I can't connect to bitbucket with my login and password (which work on the website), I have a fatal error : "Authentication failed".

我阅读了其他文章,我可以使用ssh协议而不是https协议来解决此问题,因此我按照

I read on other posts I can work around the problem using the ssh protocol instead of the https one, so I set up a ssh key following instructions on the source tree faq. But now I don't know how I can change to the ssh protocol when I want to push my code. Someone know how I can do this ? Thank you.

推荐答案

如果GIT控制台出现身份验证问题,您可以通过以下方式尝试进行身份验证:

If you got authentication issues with the GIT console you can try your auth this way :

https://<username>:<password>@bitbucket.org/<username>/<repo>.git

这篇关于身份验证无法进行位桶化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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