Perfectly viable solution. Another one is to instruct Git to use different SSH identity for a selected project.
Github has posted a good write-up on this (you can do similar thing with Heroku): http://github.com/guides/multiple-github-accounts On Dec 21, 12:54 am, Pedro Belo <[email protected]> wrote: > From the ssh key, you'll need to configure git to use the other key > when pushing. > > One idea is to use different unix users. Each will have a ssh key on > ~/.ssh and heroku credentials on ~/.heroku. > > On Sun, Dec 20, 2009 at 8:29 AM, Sarah Allen <[email protected]> wrote: > > I need to have multiple accounts on heroku to manage personal and > > corporate projects. I have switched my identity in ~/.heroku/ > > credentials > > and that is matched by the user configured with git. > > > When I create a new app, it uses the specified user, but when I try to > > push it tells me: > > > ! [email protected] not authorized to access myapp > > > Where is it getting this other identity from? > > > Thanks, > > Sarah > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
