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 votes

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.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,369 views 9 12
Read article

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