From 93c1eba8915d6c4c1bf3d964c7bf7673a6b05a17 Mon Sep 17 00:00:00 2001 From: Bourdel Laurent <laurent.bourdel@insa-rennes.fr> Date: Wed, 14 Nov 2018 16:43:22 +0100 Subject: [PATCH] 4st README updated --- README.md | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 686124e..187f4a2 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,21 @@ Copy text and paste it to GitLAB INSA (Profile/Settings/SSH keys) Zip .ssh folder and send by mail yours keys for future use 6/ Config origin-teacher & ryour origin repo in terminal window + 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 -v + 7/ Push your local directory to your personal repo in terminal window + git status + git push -u origin --all + git push -u origin --tags + git status 9/ Check if your local repo is pushed on Gitlab repo on web browser @@ -82,6 +89,7 @@ git status 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 @@ -89,7 +97,9 @@ or git commit -a git push origin master git log + git log -p + git log --stat 13/ Check on GitLab server "new activity" on web browser @@ -104,50 +114,32 @@ update (merge) modif by : git pull origin-teacher master !!! Well Done !!! -// Initial README Command line instructions Git global setup - git config --global user.name "Bourdel Laurent" - git config --global user.email "laurent.bourdel@insa-rennes.fr" Create a new repository git clone ssh://git@gitlab.insa-rennes.fr:16022/Laurent.Bourdel/EmbeddedLinux_UDOO-NEO.git - cd EmbeddedLinux_UDOO-NEO - touch README.md - git add README.md - git commit -m "add README" - git push -u origin master Existing folder - cd existing_folder - git init - git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/Laurent.Bourdel/EmbeddedLinux_UDOO-NEO.git - git add . - git commit -m "Initial commit" - git push -u origin master Existing Git repository cd existing_repo - git remote rename origin old-origin - git remote add origin ssh://git@gitlab.insa-rennes.fr:16022/Laurent.Bourdel/EmbeddedLinux_UDOO-NEO.git - git push -u origin --all - git push -u origin --tags -- GitLab