Skip to content
Snippets Groups Projects
Commit 7fc4c253 authored by Bourdel Laurent's avatar Bourdel Laurent
Browse files

2nd README updated

parent 86d726e9
No related branches found
No related tags found
No related merge requests found
...@@ -62,48 +62,49 @@ git remote rename origin origin-teacher ...@@ -62,48 +62,49 @@ git remote rename origin origin-teacher
git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/4CDTI-P2020-<YourName>-LabUdooNeo git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/EmbeddedLinux_Group/4CDTI-P2020-<YourName>-LabUdooNeo
git remote -v git remote -v
7/ Push your local directory to your personal repo 7/ Push your local directory to your personal repo in terminal window
git status git status
git push -u origin --all git push -u origin --all
git push -u origin --tags git push -u origin --tags
git status git status
9/ Check if your local repo is pushed on Gitlab repo 9/ Check if your local repo is pushed on Gitlab repo on web browser
OK ? OK ?
10/ Submit your LAB codes (cd /H/STM32_Peripheral_LAB/MyGitWorkingFolder) 10/ Submit your LAB codes in terminal window
git add . git add .
git status git status
11/ Commit your modification when needed 11/ Commit your modification when needed in terminal window
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/ CPush your modification on GitLab server 12/ Push your modification on GitLab server in terminal window
git remote -v
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
13/ Check on GitLab server "new activity" git log
git log -p
git log --stat
13/ Check on GitLab server "new activity" on web browser
14/ If Teacher updated repo, 14/ If Teacher updates repo, in terminal window
get modification's historical from remote repo : git fetch origin-teacher 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-teacher/master
update (merge) modif by : git pull origin master update (merge) modif by : git pull origin-teacher master
!!! Well Done !!! !!! Well Done !!!
// Initial README
Command line instructions Command line instructions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment