diff --git a/README.md b/README.md index b8f7bd5915cbb574e8bca342edeecb02fe269694..70c8f03a7cade214260dc9a2e894436576f0efe7 100644 --- a/README.md +++ b/README.md @@ -2,62 +2,62 @@ Source Package for Embedded Linux Lab Command line instructions -0/ Clone Teacher Repo in terminal window +0/ Create SSH keys for rights access on GitLab INSA account in terminal window -Clone repo in your home +cmdline : ssh-keygen -git clone ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/EmbeddedLinux_UDOO-NEO.git +Generating public/private rsa key pair. -Go inside folder created : cd EmbeddedLinux_UDOO-NEO +Enter file in which to save the key (/home/user/.ssh/id_rsa): -1/ Config your git ID in terminal windows +Enter passphrase (empty for no passphrase): -git config --global user.name "Name SurName" +Enter same passphrase again: -git config --global user.email "surname.name@insa-rennes.fr" -(info stored in ~/.gitconfig) +Your identification has been saved in id_rsa. -2/ Create your GitLab INSA account on web browser +Your public key has been saved in id_rsa.pub. -https://gitlab.insa-rennes.fr/ +1/ Add public key on GitLab INSA account on web browser -Ask Teacher to add you member of group EmbeddedLinux_UDOO-NEO with Maintainer rights +Display your public key : cat ~/.ssh/id_rsa.pub -3/ Create your Repo on GitLab INSA on web browser +Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys) -"New Project" button +Zip .ssh folder and send by mail your secure key for future use -Choose group "EmbeddedLinux_Group" (drop down menu Project path) +2/ Clone Teacher Repo in terminal window -Name Project like "4CDTI-P2020-<YourName>-LabUdooNeo" +Clone repo in your home -Add your co-worker as developer role (Settings/Menbers) +git clone ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/EmbeddedLinux_UDOO-NEO.git -4/ Create SSH keys for rights access on GitLab INSA account in terminal window +Go inside folder created : cd EmbeddedLinux_UDOO-NEO -cmdline : ssh-keygen +3/ Config your git ID in terminal windows -Generating public/private rsa key pair. +git config --global user.name "Name SurName" -Enter file in which to save the key (/home/user/.ssh/id_rsa): +git config --global user.email "surname.name@insa-rennes.fr" +(info stored in ~/.gitconfig) -Enter passphrase (empty for no passphrase): +4/ Open your GitLab INSA account on web browser -Enter same passphrase again: +https://gitlab.insa-rennes.fr/ -Your identification has been saved in id_rsa. +Ask Teacher to add you member of group EmbeddedLinux_UDOO-NEO with Maintainer rights -Your public key has been saved in id_rsa.pub. +5/ Create your Repo on GitLab INSA on web browser -Display your public key : cat ~/.ssh/id_rsa.pub +"New Project" button -5/ Add public key on GitLab INSA account on web browser +Choose group "EmbeddedLinux_Group" (drop down menu Project path) -Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys) +Name Project like "4CDTI-P2020-<YourName>-LabUdooNeo" -Zip .ssh folder and send by mail yours keys for future use +Add your co-worker as developer role (Settings/Members) -6/ Config origin-teacher & ryour origin repo in terminal window +6/ Config origin-teacher & your origin repo in terminal window git remote rename origin origin-teacher