I am getting an error when I perform the git push

git push -u origin master
Logon failed, use ctrl+c to cancel basic credential prompt.
Password for 'https://www.mulugigi@bitbucket.org':
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://www.mulugigi@bitbucket.org/mulugigi/git-test.git/'

3 answers

0 vote

Hi Mulu,

Can you enable the Git Trace Logs and post the output? This should help us determine what is happening in the backend when you try to push:

On Linux
Execute the following on the command line before executing the Git command:

export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=

On Windows
Execute the following on the command line before executing the Git command:

set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1

Screen Shot 2018-01-16 at 3.13.45 PM.pngI think, my issue is the same. After update i am forced to relogin (Sourcetree-Preferences-Accounts-Edit-Connect account) before every action.

0 vote
Juan Manuel Ibarra Community Champion Feb 15, 2018

Hi! I recommend use a ssh key autentication to preven this.

 

¿How to?

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,035 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you