HTTPS中的Bitbucket:git push输出致命错误:身份验证失败 [英] Bitbucket in HTTPS : git push outputs an fatal: Authentication failed

查看:933
本文介绍了HTTPS中的Bitbucket:git push输出致命错误:身份验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在HTTPS中遇到了bitbucket和git的问题。

I have a problem with bitbucket and git in HTTPS.

当我尝试推送时,我有以下输出:

When I try a push I have the following output :

$ git push origin master
fatal: Authentication failed

$ git push
fatal: Authentication failed

.git / config配置了我在Bitcucket上的repo上找到的HTTPS链接。

.git/config is configured with the HTTPS link I found on the repo on Bitcucket.

然而拉动与此HTTPS链接完美配合。

The pull works however perfectly with this HTTPS link.

谢谢。

推荐答案

这是bitbucket的权利问题,而不是配置问题。

It was a problem of rights on bitbucket, not a problem of config.

我当时只读。
管理员为我添加了写权和推送现在正在工作。

I was on read only. The admin added to me the right to write and the push is now working.

这篇关于HTTPS中的Bitbucket:git push输出致命错误:身份验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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