Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to switch between accounts #8

Open
alilland opened this issue Apr 19, 2017 · 7 comments
Open

not able to switch between accounts #8

alilland opened this issue Apr 19, 2017 · 7 comments

Comments

@alilland
Copy link

alilland commented Apr 19, 2017

I have a personal and work account, I added both accounts, but when i go to swap from personal to work it returns that I am still on my personal account. It never wants to switch over...

i have tried deleting my work account and re added it to see if that works -- it wont let me delete my personal account since its the "current account"
screen shot 2017-04-18 at 5 35 50 pm

@ransombriggs
Copy link
Contributor

@aronlmin sorry for the delayed response, but the way heroku-accounts work is that it stores control_air and personal in ~/.heroku/accounts and the current account in ~/.netrc under machine api.heroku.com, could you make sure that the control_air and the personal files have different username attribute? (if you wanted to post those two files + netrc be sure to mask the password attribute)

@alilland
Copy link
Author

alilland commented Apr 20, 2017 via email

@sara-g
Copy link

sara-g commented Aug 30, 2017

I'm really stuck. Everything seemed to work fine switching between 2 accounts until I went to go work on an old app which should be tied to my personal account. I switch to my personal account, heroku accounts:current shows my personal account, and ~/.netrc also looks correct, but when I try to push to Heroku, I get an error that email@workaccount does not have access. It should not even be using that email from the other account.

@jdx
Copy link
Contributor

jdx commented Aug 31, 2017

@sara-g you're probably using ssh git, use heroku git:remote to switch to https git

@sara-g
Copy link

sara-g commented Sep 28, 2017

Still stuck on this. Running heroku git:remote returns "git is not a function"

@sara-g
Copy link

sara-g commented Sep 28, 2017

how do I uninstall heroku accounts from my computer? I can't push to heroku at all anymore. I'm not sure what to do.

@chrise86
Copy link

This solved my issues when I as getting it #20 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants