tags:

views:

186

answers:

3

git clone [email protected]:myapp.git

Results in a "myoldemailaddress not authorized to access myapp"

myoldemailaddress was an email address I was using on an old heroku account, but it seems to be stuck using it, I can use my new one.

I've removed the .heroku directory, and regenerated it, it has the correct user name and password, I can see my apps listed I've uploaded my key (I've regenerated my several times now) ssh-keygen -t rsa -C mynewaddress

I uninstalled and reinstalled heroku on a different user in the same machine it works just fine.

Something about my account has my old address, but I can't figure out where.

+1  A: 

Do you have your myoldemailaddress still listed as your user in your global gitconfig file?

[user]
name = David
email = myoldemailaddress@...

I'm not sure if heroku uses this at all, but that's the next place I'd look.

theIV
Yea tried that, no luck :(
David
A: 

I was having this same problem - and rebooting my computer fixed it.

Russell
A: 

You can add "myoldemailaddress" as a collaborator in your heroku app

Luke