1
I needed to change the password in the bitbucket, so the push
and the pull
from my local repository no longer work. I authenticated myself via https.
What command to use to authenticate me in the repository and enter username and password?
1
I needed to change the password in the bitbucket, so the push
and the pull
from my local repository no longer work. I authenticated myself via https.
What command to use to authenticate me in the repository and enter username and password?
1
If you used to https with its repository without providing the user and password to each pull
/push
, probably your credentials (user and password) were saved using the credential.helper
of Git itself.
To change them, you have to call the commands:
git config credential.helper store
git pull
After this, Git will ask you which user and password. Provide user and new password and retest the access test in your repository.
Browser other questions tagged git terminal bitbucket
You are not signed in. Login or sign up in order to post.
No, the title doesn’t say it all. Which connection URL is used? You pass your user or use a Umbrella which then identifies with the ssh key? The repository is as http or https? What is the error message? Are you sure it is not a problem with head be outdated? Verified that you have access to read and write from such repository?
– Jefferson Quesado
The point here is that the password has been changed and now I can’t pull or push. However I don’t know how to login again.
– Luís Almeida
Authentication is ssh or http or https? Still not reporting
– Jefferson Quesado
The authentication is Https
– Luís Almeida
@Jeffersonquesado thanks for the edition.
– Luís Almeida
The information about your remote is in the git configuration file (
.git/config
). I do not recommend editing directly, but can give you a guide. I found this here that seems to be relevant: https://stackoverflow.com/q/5343068/4438007. However, I strongly recommend switching authentication https in favour of ssh, but I recognize that it is more my mania than something objective. To change to ssh, first it is appropriate to raise your public key to the bitbucket. If you use Windows, recommend not to use theputty
, but rather theopenssh
(integration with theputty
is not smooth, alreadyopenssh
is)– Jefferson Quesado
You may also be relevant: https://stackoverflow.com/q/35942754/4438007
– Jefferson Quesado
any errors are shown? vc is using git or Hg?
– Marquinhos Oliveira