githubで同一マシン内で複数アカウントを使い分けてプッシュする

http://d.hatena.ne.jp/calpo/20120601/p1
別のssh keyを生成してgitubに登録
コンソール

git config user.name "yourname"
git config usre.email "your@email.com

.ssh/config

Host hoge.github.com
    User git
    Port 22
    Hostname github.com
    IdentityFile ~/.ssh/id_rsa_hoge
    TCPKeepAlive yes
    IdentitiesOnly yes

.git/config

url = git@hoge.github.com:moyahima/Spoon-Knife.git