Github API https://developer.github.com/v3/repos/contents/#get-contents
Gitlab API https://github.com/gitlabhq/gitlabhq/tree/master/doc/api
何度もミスるのでメモ
1. ssh keyを作る
ssh-keygen
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
ssh-add -l で確認
2. public keyをgithubに登録
settingsのSSH and GPG keysでNew SSH key
3. xclipを使って貼り付ける
xclip < ~/.ssh/id_rsa.pub
4. 動作確認
ssh git@github.com
5. clone
例えば
git clone git@github.com:seijirom/ALB-1.git
これは git clone ssh://git@github.com/seijirom/ALB-1.gitと同じ