I am having a problem, I can't push using git using my own email address, so the story is that there was a team, the team has developers and the number of devs is six, the seventh was me, I had to log in with an other person account ( in azure repo
), before my account is created.
I was working with that account, and then switched to mine when created, and changed my email and name using git config -g user.email
and username too but I am still pushing with the old account.
I have faced this problem before, what did I do to resolve it ? I deleted my github credentials from my computer and probleme is solved, but I was using github
not azure, when I go Now to the Windows -> Control Panel -> Windows Credentials I don't find any git credentials or anything to remove them and solve the problem, I got log out from the old account of that person, so how could I fix the problem.
=========== Edit ===========
I found out that I was using a key everytime I push or pull, that key was given to me by the person I was using his account.
I know now that I have to use my own key, and to be honnest I don't know what are ssh keys, I just hear of them.
I tried to generate a new one but I got an error :
This the error I got :
The key I used is thje server SHA256 FINGERPRINT :
I have used it, because I thought this the one, but no, it is not.
What should I use ?
I followed steps here But I am not using it correcly because I don't know what are ssh keys.
Any help would be much appreciated.