When using Heroku each account is tied to one ssh key for deployment. Likewise, two accounts can share the same ssh key, hence the problem. With a little ssh foolery this problem can be overcome by creating a second ssh key and creating a pseudo-host entry in your ssh config. Then modify your .git/config file to use this new pseudo-host which uses your new key.
- Create a new host key
ssh-keygen -t rsa > gmail_rsaor something like that.
- add these two lines to your ~/.ssh/config file:
Host heroku.gmail HostName heroku.com
- In your repos config change the code from:
[remote "heroku"] url = firstname.lastname@example.org:bowerman-fotobounty2.git
[remote "heroku"] url = email@example.com:bowerman-fotobounty2.git