Change GIT password in Windows

0

I use git in Windows and I need to know how to change his password through CMD . Every time I try to make a git push , it gives the error below and I need to enter the login and the 'new' password

fatal: HttpRequestException encountered. Ocorreu um erro ao enviar
a solicitação. Username for 'https://github.com':

I remember doing this as soon as I installed GIT on windows, but I do not know how to change the password that is already written.

    
asked by anonymous 02.04.2018 / 00:34

1 answer

0

Maybe your password is saved in the windows credential manager. To confirm, check that in the file .gitconfig in C:/Users/SeuUsuario/ , the credential option appears as:

[credential]
helper = wincred

If so, go to the Windows "Credential Manager" (type in the search bar next to the windows logo on the bottom bar) and change your password.

    
16.04.2018 / 22:27