Unable to make commits to my new github account repositories from my local terminal.
remote: Permission to <new-account-name>/22c.git denied to <old-account-name>.
I have updated my global 'git config' settings`
git config --list
reveals the following:
credential.helper=osxkeychain
core.editor=/usr/bin/vim
core.autocrlf=input
user.name=<new-account-name>
user.email=<new-email>
push.default=simple
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=https://github.com/<new-account-name>/22c.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
thank you for the help, let me know if there is anything else that would help solve the problem