Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EmbeddedLinux_UDOO-NEO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EmbeddedLinux_Group
EmbeddedLinux_UDOO-NEO
Commits
86d726e9
Commit
86d726e9
authored
6 years ago
by
Bourdel Laurent
Browse files
Options
Downloads
Patches
Plain Diff
README updated
parent
688d29ef
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-29
33 additions, 29 deletions
README.md
with
33 additions
and
29 deletions
README.md
+
33
−
29
View file @
86d726e9
...
@@ -2,14 +2,28 @@ Source Package for Embedded Linux Lab
...
@@ -2,14 +2,28 @@ Source Package for Embedded Linux Lab
Command line instructions
Command line instructions
0/ Clone Teacher Repo in terminal window
1/ Create your GitLab INSA account
Clone repo in your home
git clone ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/EmbeddedLinux_UDOO-NEO.git
Go inside folder created : cd EmbeddedLinux_UDOO-NEO
1/ Config your git ID in terminal windows
git config --global user.name "Name SurName"
git config --global user.email "surname.name@insa-rennes.fr"
(info stored in ~/.gitconfig)
2/ Create your GitLab INSA account on web browser
https://gitlab.insa-rennes.fr/
https://gitlab.insa-rennes.fr/
Ask Teacher to add you member of group EmbeddedLinux_UDOO-NEO with Maintainer rights
Ask Teacher to add you member of group EmbeddedLinux_UDOO-NEO with Maintainer rights
2
/ Create your Repo on GitLab INSA
3
/ Create your Repo on GitLab INSA
on web browser
"New Project" button
"New Project" button
...
@@ -19,9 +33,7 @@ Name Project like "4CDTI-P2020-<YourName>-LabUdooNeo"
...
@@ -19,9 +33,7 @@ Name Project like "4CDTI-P2020-<YourName>-LabUdooNeo"
Add your co-worker as developer role (Settings/Menbers)
Add your co-worker as developer role (Settings/Menbers)
3/ Create SSH keys for rights access on GitLab INSA account
4/ Create SSH keys for rights access on GitLab INSA account in terminal window
Open terminal windows on your VM
cmdline : ssh-keygen
cmdline : ssh-keygen
...
@@ -39,33 +51,26 @@ Your public key has been saved in id_rsa.pub.
...
@@ -39,33 +51,26 @@ Your public key has been saved in id_rsa.pub.
Display your public key : cat ~/.ssh/id_rsa.pub
Display your public key : cat ~/.ssh/id_rsa.pub
5/ Add public key on GitLab INSA account on web browser
Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys)
Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys)
Zip .ssh folder and send by mail yours keys for future use
Zip .ssh folder and send by mail yours keys for future use
4/ Config your git ID
6/ Config origin-teacher & ryour origin repo in terminal window
git remote rename origin origin-teacher
git config --global user.name "Name SurName"
git config --global user.email "surname.name@insa-rennes.fr"
(info stored in ~/.gitconfig)
5/ Clone Teacher Repo
In terminal window, clone repo in your home
git clone ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/EmbeddedLinux_UDOO-NEO.git
Go inside folder created : cd EmbeddedLinux_UDOO-NEO
8/ Config origin & remote repo
...
9/ Check modification on your local repo (cd /H/STM32_Peripheral_LAB/MyGitWorkingRepo/)
git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/4CDTI-P2020-
<YourName>
-LabUdooNeo
git remote -v
7/ Push your local directory to your personal repo
git status
git push -u origin --all
git push -u origin --tags
git status
git status
9/ Check if your local repo is pushed on Gitlab repo
OK ?
10/ Submit your LAB codes (cd /H/STM32_Peripheral_LAB/MyGitWorkingFolder)
10/ Submit your LAB codes (cd /H/STM32_Peripheral_LAB/MyGitWorkingFolder)
git add .
git add .
...
@@ -77,14 +82,13 @@ git status
...
@@ -77,14 +82,13 @@ git status
git commit -a -m "message to explain commit content"
git commit -a -m "message to explain commit content"
or git commit -a
or git commit -a
(vim command : 'i' to insert, 'ESC' to leave edit mode, ':wq' to save commit message)
(vim command : 'i' to insert, 'ESC' to leave edit mode, ':wq' to save commit message)
12/ C
onfig &
Push your modification on GitLab server
12/ CPush your modification on GitLab server
git remote -v
git remote -v
git remote add origin
(votre_repo)
git remote add origin
ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/4CDTI-P2020-
<YourName>
-LabUdooNeo
git push origin master
git push origin master
...
@@ -92,7 +96,7 @@ git push origin master
...
@@ -92,7 +96,7 @@ git push origin master
14/ If Teacher updated repo,
14/ If Teacher updated repo,
get modification's historical from remote repo : git fetch origin master
get modification's historical from remote repo : git fetch origin
-teacher
master
check modifications by : git diff --name-only master origin/master
check modifications by : git diff --name-only master origin/master
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment