I tried to push to my repository, but I got the error below:
git push origin master
remote: Permission to PhanVanLinh/phanvanlinh.github.io.git denied to edgarphan.
fatal: unable to access 'https://github.com/PhanVanLinh/phanvanlinh.github.io.git/': The requested URL returned error: 403
Before, I was using username edgarphan
, but I have already changed it to PhanVanLinh
, but it still keeps edgarphan
.
I have tried to delete the project and clone again, uninstall Git and reinstall, but it won't work.
Global configuration file
How can I fix this issue?
git config --global user.name
– unreleased Oct 8 '17 at 10:05PhanVanLinh
too – Phan Van Linh Oct 8 '17 at 10:31