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 …

Loading



微信扫描下方的二维码阅读本文

作者 arcko

新长征路上的码农下班买菜中

在 “Ubuntu 12.04配置Github” 有 1 条评论

发表回复

此站点使用 Akismet 来减少垃圾评论。了解我们如何处理您的评论数据