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 in Git & GitHub by akhtar
• 38,170 points
67 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 by MD
• 95,060 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,530 points
3,248 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
174 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
947 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 in Git & GitHub by MD
• 95,060 points
129 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,060 points
116 views