Answer the question
In order to leave comments, you need to log in
Why can't I change the user on github?
I had an old account on github, from there I pushed and pushed everything. Created a new account, changed everything as it should.
git config --global user.name "example"
$ git config --global user.email example
MacBook-Pro-Ahmed:kstu_project HeartProgrammer$ git add .
MacBook-Pro-Ahmed:kstu_project HeartProgrammer$ git commit -m "initial commit"
[master 161c992] initial commit
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 readme.txt
MacBook-Pro-Ahmed:kstu_project HeartProgrammer$ git push -u origin master
remote: Permission to zoxon470/library.git denied to HeartProgrammer.
fatal: unable to access 'https://github.com/zoxon470/library.git/': The requested URL returned error: 403
MacBook-Pro-Ahmed:kstu_project HeartProgrammer$
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question