打開power shell,輸入git
ssh-keygen -t rsa -C "這裏寫註釋,方便辨別" //一路回車就能夠,而後查看公鑰,複製到github等網站設置裏 cat ~\.ssh\id_rsa.pub