📅  最后修改于: 2022-03-11 15:00:55.040000             🧑  作者: Mango
Generate SSH Key:
- ssh-keygen -t rsa -C "Comment for key"
Add it to gitlab:
- cat ~/.ssh/id_rsa.pub (copy all output)
- Open web browser, go to: Gitlab > User Settings > SSH Keys
- Paste copied output in the SSH key section
Test connection:
- ssh -T git@gilab.domain.com (can use private url)
Do some git stuff:
- git clone something