Today I will share with you a git generation key and configuration method~~~~~~~~~~~~
First of all, open git bash (provided that after downloading git)
cd ~/.ssh/
what's next
git config --global user.name "xxx"
Then
git config --global user.email "你的邮箱"
continue
ssh-keygen -t rsa -C "你的邮箱"
As shown in the figure,
find the file according to the path, open it with Notepad, copy it, go to gitLab, click Settings in the upper right corner of the avatar, as shown in the figure,
click on the SSH keys in the left menu bar and paste the copied directly into it
and click Add key to add it successfully La~ you can check it out below,
thank you~~~~~~~~~~