I have in my ~/gitconfig and in my (repo)/.git/config:
[user]
name=sboesch
email = stephen.boesch@mycompany.com
Are they working? Seems so ..
$ git config user.email
stephen.boesch@mycompany.com
[cloudera@localhost hwspark]$ git config user.name
sboesch
But when doing a push my old credentials (specifically username=javadba) are being used instead:
[cloudera@localhost hwspark]$ git push
remote: Permission to Mycompany-Spark/spark.git denied to javadba.
What configuration step am I missing here?
**UPDATE* more info - from
git config -e
Output:
[remote "origin"]
url = https://github.com/<companyRepoName>/spark.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "ctx"]
remote = origin
merge = refs/heads/ctx
[user]
email = stephen.boesch@mycompany.com
name = sboesch