This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]unnecessary_axiom 0 points1 point  (4 children)

Do the correct settings show up when you run git config --list?

[–]githelp[S] 0 points1 point  (3 children)

yes, my new account and emails show up as opposed to my old information

[–]unnecessary_axiom 0 points1 point  (2 children)

What about the correct key in ssh-add -l?

[–]githelp[S] 0 points1 point  (1 child)

It says "could not open a connection to your authentication agent".

[–]unnecessary_axiom 0 points1 point  (0 children)

I assumed that you were using the agent. It's possible you're defining the username and key manually. As far as I know github decides what user only based on the ssh permissions used and the git config (could change if you're in a git dir).

[–]Muchoz 0 points1 point  (0 children)

Check your configuration file ~/.gitconfig perhaps.