The environment needs to be reconfigured with every new computer, and this time I decided to document my new configuration.
Here, gitLab is used as the repository example.
So let’s go to Settings
Clicking Generate One under SSH Keys will teach you how to generate a new key
Open the terminal and enter the following command, and press Enter until the following phenomenon occurs
Command+Shift+. Show the hidden folder under the folder directory, then open id.rsa_pub and copy the text to
After adding it, you can pull the project code by SSH.