User.name is still there although I removed it in git -


i have 2 github accounts. set 1 global , 1 local. removed both of them in git using

git config --global --unset user.name , git config --global --unset user.email

the same thing --local.

but when git push origin master says :

error: permission {username1}/{gitreponame} denied {username2}. 

which username1 used local username , username2 global one. why still there ? how can unset ?

the original problem can push account local username , cannot ! tried unset local , unset global still uses set global username , shows me error.

you can try manually remove credentials in ~/.gitconfig file.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -