Newer
Older
Source Package for Embedded Linux Lab
Command line instructions
0/ Create SSH keys for rights access on GitLab INSA account in terminal window
Enter file in which to save the key (/home/user/.ssh/id_rsa):
Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys)
Zip .ssh folder and send by mail your secure key for future use
git clone ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/EmbeddedLinux_UDOO-NEO.git
git config --global user.email "surname.name@insa-rennes.fr"
(info stored in ~/.gitconfig)
Ask Teacher to add you member of group EmbeddedLinux_UDOO-NEO with Maintainer rights
Choose group "EmbeddedLinux_Group" (drop down menu Project path)
6/ Config origin-teacher & your origin repo in terminal window
git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/4CDTI-P2020-<YourName>-LabUdooNeo
7/ Push your local directory to your personal repo in terminal window
9/ Check if your local repo is pushed on Gitlab repo on web browser
11/ Commit your modification when needed in terminal window
git commit -a -m "message to explain commit content"
or git commit -a
(vim command : 'i' to insert, 'ESC' to leave edit mode, ':wq' to save commit message)
12/ Push your modification on GitLab server in terminal window
git log --stat
13/ Check on GitLab server "new activity" on web browser
get modification's historical from remote repo : git fetch origin-teacher master
check modifications by : git diff --name-only master origin-teacher/master
update (merge) modif by : git pull origin-teacher master