I have two github ids: javadxx and stephencompanyid.
While attempting to push to the github repo shown in the screenshot below it seems the incorrect userid were applied: the intention is to use the javadxx
but the error message seem to indicate the other one were applied.
Here are the remote refs:
$git remote -v
origin https://github.com/javadxx/jfreechart-fse (fetch)
origin https://github.com/javadxx/jfreechart-fse (push)
Screenshot shows the fork was created under javadxx id:
Here is the command attempted:
6:40:01/jfreechart-fse $git push origin InitFromArray
remote: Permission to javadxx/jfreechart-fse.git denied to stephencompanyid.
The strange thing is that both the .gitconfig
and the local git config -l
indicate otherwise - i.e. that the javadxx
were active.
jfreechart-fse $git config user.name
javadxx
16:48:04/jfreechart-fse $git config user.email
javadxx@<blah>
Inside .gitconfig
:
[user]
name = javadxx
email = javadxx@<blah>
I even looked inside the .git folder for any remnants of the other id:
grep companyname .git/*
(no results)