ubuntu快速搭建git
sudo apt-get install git git config --global user.name "Your Name" git config --global user.email "email@example.com" ssh-keygen -t rsa -C "youremail@example.com"
然后找到.ssh,ubuntu下ctrl+H,显示隐藏的.ssh文件夹,把id_rsa.pub文件拷贝到win上,因为vim打开的话,上传到github会格式错误,拒绝添加ssh。
懒惰不会让你一下子跌到
但会在不知不觉中减少你的收获;
勤奋也不会让你一夜成功
但会在不知不觉中积累你的成果
越努力,越幸运。