Git配置
打開git bash 執行以下命令
git config --global user.name 用戶名
git config --global user.email 郵箱
ssh-keygen -t rsa
gitlab配置
- 打開生成的 .../.ssh/id_rsa.pub 並復制其中的內容
- 打開gitlab主頁--點擊頭像--Settings--SSH Keys
- 將復制的內容粘到Key輸入框中--Add Key
打開git bash 執行以下命令
git config --global user.name 用戶名
git config --global user.email 郵箱
ssh-keygen -t rsa
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。