Ubuntu 12.04配置Github

Ubuntu 12.04配置Github

  1. apt-get install git-core
  2. git config –global user.name “你的名字” ()
  3. git config –global user.email “your@email.com”
  4. git config –global credential.helper cache
  5. cd ~/.ssh  (https://help.github.com/articles/generating-ssh-keys)
  6. ssh-keygen -t rsa -C “your@email.com”
  7. sudo apt-get install xclip
  8. xclip -sel clip < ~/.ssh/id_rsa.pub
  9. https://github.com/settings/ssh 添加ssh key
  10. git clone …

(1314)

1 thought on “Ubuntu 12.04配置Github”

发表评论