Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I'm unable to push commits to my Bitbucket repo

Uri Mann July 2, 2023

I have a repository on I currently made a small change in my local repo and I'm trying to push it to the remote. I first get a popup image.png

When I enter my credentials I'm told that the credentials are invalid. They are valid for sure since if I use the exact same password in the browser I'm logged in.

Please advise,


1 answer

1 accepted

2 votes
Answer accepted
Uri Mann July 2, 2023

It looks like the issue was related to the fact that I added Access Token. It prevents all the existing local repositories from pushing or pulling until the following line is changed to .git/config file:

[remote "origin"]
url = https://x-token-auth:<token><user>/<repo>.git

Note that the token must have at least read/write to the repository

It should really be part of the information on the Access Token creation screen

Uri Mann July 2, 2023

IMHO, this is actually a bug

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events