w'indowsgit
下載github
https://git-scm.com/downloadssh
安裝網站
右鍵彈出git命令行界面輸入Linux命令 git --version命令行
註冊git帳號3d
註冊完要去本身的郵箱裏進行驗證,這樣才能使用gitblog
配置sshkeyit
1進入git 安裝目錄下的.sshio
cd /c/Users/lxw/.ssh配置
2生成sshkey
$ ssh-keygen -t rsa -C "Youxiang@163.com"
3 一直ernter直到成功
4. 打開並複製文件 id_rsa.pub
$ ll
total 5
-rw-r--r-- 1 lxw 197121 1823 4月 10 09:43 id_rsa
-rw-r--r-- 1 lxw 197121 398 4月 10 09:43 id_rsa.pub
5. 將 id_rsa.pub內容拷貝到github網站的ssh-key
6若是有須要能夠建立多個ssh-key,經過配置config文件來解決
///////////////////////////////
二 建立git倉庫