1.首先安裝Git Bash\Git GUIgit
2.生成密鑰: ssh-keygen -t rsa -C "276434731@qq.com"github
獲得2個文件: id_rsa, id_rsa.pub ssh
3.在github 或者oschina 添加ssh id_rsa.pub 測試
測試:ssh git@github.comit