公開鍵作成
cd ~/.ssh/ ssh-keygen -t rsa
クリップボードにコピー
pbcopy < ~/.ssh/id_rsa.pub
github側で登録 https://github.com/settings/ssh
app/.git/configを書き換え
[remote "origin"] url = git@github.com:hoge/hoge.git
毎回パスワード聞かれないように
ssh-add ~/.ssh/id_rsa
公開鍵作成
cd ~/.ssh/ ssh-keygen -t rsa
クリップボードにコピー
pbcopy < ~/.ssh/id_rsa.pub
github側で登録 https://github.com/settings/ssh
app/.git/configを書き換え
[remote "origin"] url = git@github.com:hoge/hoge.git
毎回パスワード聞かれないように
ssh-add ~/.ssh/id_rsa