SSH key allows you to establish a secure connection between your computer and GitLab
install
> npm install node.sshkeys.gitlab -ggenerate and add SSH key.
> ssh-gitlab YOUR_TOKENUsage: ssh-gitlab <token> [api]
-
token: [Required]Private token. Your private token is used to access application resources without authentication. (You can findout your token at http://your-gitlab-site.com/profile/account)
-
api : [Optional]GitLab api url.
git config --global user.name "YOUR_USER_NAME"
git config --global user.email "YOUR_EMAIL"