How do I login to a repository?

1

I needed to change the password on bitbucket, so the push and pull of my local repository no longer work. I authenticated via link .

What command do I use to authenticate to the repository and enter the username and password?

    
asked by anonymous 27.04.2018 / 17:58

1 answer

1

If you used link with your repository without providing the user and password for every pull / push , your credentials (username and password) were probably saved using credential.helper Git.

To change them, you have to call the commands:

git config credential.helper store
git pull

After this, Git will ask you which username and password. Provide the user and the new password and retry the access test in your repository.

    
25.07.2018 / 14:49