Ubuntu 12.04配置Github
- apt-get install git-core
- git config --global user.name "你的名字" ()
- git config --global user.email "your@email.com"
- git config --global credential.helper cache
- cd ~/.ssh (https://help.github.com/articles/generating-ssh-keys)
- ssh-keygen -t rsa -C "your@email.com"
- sudo apt-get install xclip
- xclip -sel clip < ~/.ssh/id_rsa.pub
- https://github.com/settings/ssh 添加ssh key
- git clone ...
微信扫描下方的二维码阅读本文
真是好东西呀