One day, A other dev commit something with his username on my computer. And At this time it become a kind of curse.
I cannot switch user.
I tryed everything:
git config user.name "new name"
git fetch -p
with all available options, no success
restart computer, no success
delete all ssh key, no success
uninstall and reinstall git, no success.
After all this operation, the command git push are saying to me :
Permission to myRepos denied to olduser.
The git config user.name with --global/--local/--system option is : me
Did I forget something (clear cache or something else)?
EDIT
I saw other repos of this old user on my computer. (He worked 1 week on my computer). Maybe there are some conflict?