Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication fails while pushing to bit bucket from MAC terminal

Rakesh Bharadwaj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2019

I have newly installed git and i have access to bitbucket and created an account there. 

Now i wanted to push my local changes to bitbucket account but it fails. Below is the way i do it

=============

git push -u origin master

Username for 'https://bitbucket.org': <UserName>

Password for 'https://<UserName>@bitbucket.org':

remote: Invalid username or password

fatal: Authentication failed for 'https://bitbucket.org/path/bootcamp-git/'

========

git remote -v gives the following output

 

origin https://<UserName>@bitbucket.org/path/bootcamp-git.git (fetch)

origin https://<UserName>@bitbucket.org/path/bootcamp-git.git (push)

 

With the same credentials i tried using the Sourcetree app. All the pushes and pulls are successful.

 

I don't understand why this is not working from CLI.

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events