GitLab code upload configuration

1. Initialization

git init

2. Create key

ssh-keygen -t rsa

The id_rsa.pub key file will be generated under ~/.ssh/

Set the public key to the web page

3. Configure the name/email of the person using the Git repository, and fill in your company email
git config --global user.name "xxx"
git config --global user.email "[email protected]

4. You can submit the code.

 

Guess you like

Origin blog.csdn.net/csdn1126274345/article/details/104286008