GIT portals

From Origami_Wiki
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.