Bitbucket in HTTPS : git push outputs an fatal: Authentication failed

16,965

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.

Share:
16,965
Florian G
Author by

Florian G

Updated on June 27, 2022

Comments

  • Florian G
    Florian G almost 2 years

    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 is configured with the HTTPS link I found on the repo on Bitcucket.

    The pull works however perfectly with this HTTPS link.

    Thank you.