How do I update the password for Git

0 votes

Hi Team,

I'm using BitBucket with Xcode and Git for version control, and recently I changed all of my passwords. Now I'm no longer able to push my local commits to my repository on BitBucket. It is showing me the below error.

Authentication failed for 'https://______.git'
Jan 5, 2021 in Git & GitHub by akhtar
• 38,260 points
747 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to update your credentials. For Windows, you can use the below command.

$ git config --global credential.helper wincred

To fix this on macOS, you can use the below one.

$ git config --global credential.helper osxkeychain
answered Jan 5, 2021 by MD
• 95,460 points

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,620 points
10,600 views
0 votes
1 answer

How do I install Git on windows?

Hey @Akash, follow these steps: Go to this ...READ MORE

answered Feb 19, 2019 in Git & GitHub by Nikhil
1,024 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
1 answer

How do I go to a particular version of a file in the Git repository?

Hi@akhtar, You can use git checkout <sha1> to check ...READ MORE

answered Jan 5, 2021 in Git & GitHub by MD
• 95,460 points
2,950 views
0 votes
2 answers

How do I install Git on CentOS?

Hi, If you want to install Git 1 ...READ MORE

answered Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
1,095 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP