GIT portals

From Origami_Wiki
Revision as of 11:58, 24 August 2017 by imported>Kishor (Created page with "'''GitHUB''' <br> ------------- <br> GitHub logins of employees are available in lastpass. <br> '''Adding an SSH-KEY in GitHUB''' <br> -------------------------------------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GitHUB



GitHub logins of employees are available in lastpass.

Adding an SSH-KEY in GitHUB



1. First create an ssh key for the user in local system.

i) Login as the user
ii) enter command ssh-keygen -t rsa
iii)Enter default values for the questions that followed the above command.
iv) 2 new files will be created in /home/username/.ssh/ folder. Copy the contents of id_rsa.pub file from this folder into clipboard.

2. Login to github.com
3. Click user logo on top-right >> choose Settings >> Click SSH and GPG keys on left tab >> Click New SSH Key.
4. Then paste the content from step 1 (iv) here and save it.
5. The system can then be used for password less git operations via the ssh url of the project.

GitLAB




Adding an SSH-KEY in GitLAB



1. First create an ssh key for the user in local system.

i) Login as the user
ii) enter command ssh-keygen -t rsa
iii)Enter default values for the questions that followed the above command.
iv) 2 new files will be created in /home/username/.ssh/ folder. Copy the contents of id_rsa.pub file from this folder into clipboard.

2. Login to gitlab.com
3. Click user logo on top-right >> choose Settings >> Click SSH keys on top tab >> Click New SSH Key.
4. Then paste the content from step 1 (iv) here and save it.
5. The system can then be used for password less git operations via the ssh url of the project.