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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,300
Community Members
 
Community Events
184
Community Groups

How do I push commits from local repository to remote repositoty (Bitbucket)?

Lydia Purves Ware
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 25, 2023

Hi, I am new to Sourcetree and bitbucket. Every time I try pushing something to the remote repository in Bitbucket I get the following message saying:

remote: login failed due to incorrect login credentials or method along with the following 

remote: If you are unsure of which login details or login method to use, visit:

remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/

 

It will then say "Completed with errors" but nothing has been completed.

I have logged in and out multiple times and checked that I am logged in before I begin the push but I keep getting the same error message.

Any advice on what I'm not doing?

 

1 answer

0 votes
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 28, 2023

Hi Lydia,

Bitbucket uses git as the underlying distributed version control system (DVCS). You have a remote repo in Bitbucket and a local repo on your machine. Your local repo 'talks' to the remote repo via git commands.

When you execute a git command and communication to the remote is required, the local machine needs to authenticate with the remote.

Note that logging in into Bitbucket in the browser doesn't authenticate your local git client.

The page you have linked  talks about several ways to authenticate your local repo with the remote. 

1. Have you been able to clone the remote repo to your local machine? If this worked, authentication works.

2. Sourcetree uses the underlying git client to perform all actions., I recommend to use plain command line git commands in the beginning to get familiar with git. Effectively you only need to learn a handful of commands.

3. Walk through the steps of creating a personal SSH key on your machine and upload the public key to your bitbucket.org account, you won't have to deal with authentication problems again. 

 

Hope that clears things up - let me know if you need help

Best, Ulrich

// Izymes - Tools for efficient teams

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events