Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

push/pull issues

receiving the following error in Sourcetree/VSC: 

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Invalid username or password
fatal: Authentication failed for '{filepath}.git/'
Pushing to{filepath}.git


I have also followed all troubleshooting recommended at: and

I have uninstalled Sourcetree, removed all associated credentials on my machine, and manually deleted credentials in Sourcetree to start from scratch. I also generated a new SSH key, as it was recommended online that this could be causing the error. We attempted to utilize Command Prompt to push, but when prompted with 'Enter Password for Bitbucket' I am unable to enter any characters other than to Return to the next line (therein causing it to say I did not enter a password and cannot login to Push said changes). 

After reinstalling and revalidating the credentials I am still receiving the same error when Pushing changes via both VSC and Sourcetree. Does anyone have any additional insight on this error or recommendations on how to proceed? Thanks.

1 answer

1 accepted

0 votes
Answer accepted


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,153 views 30 134
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you