git config --global user.name "Your Name"
git config --global user.email "email@example.com"
ssh-keygen -t rsa -C "email@example.com"
# 查看你的公鑰
cat ~/.git/id_rsa.pub
去 github 個人設置 ssh key,把公鑰的內容
測試是否能連接
ssh -vT git@github.com
git config --global user.name "Your Name"
git config --global user.email "email@example.com"
ssh-keygen -t rsa -C "email@example.com"
# 查看你的公鑰
cat ~/.git/id_rsa.pub
去 github 個人設置 ssh key,把公鑰的內容
測試是否能連接
ssh -vT git@github.com
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。