Skip to content
Snippets Groups Projects
Commit ab015d60 authored by Fanch's avatar Fanch
Browse files

Merge branch 'by_gildas' into 'master'

add some quote (review)

See merge request !1
parents 5ef92576 12d73f3c
No related branches found
No related tags found
1 merge request!1add some quote (review)
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
- Every git repository is independant - Every git repository is independant
#### Command: #### Command:
- mkdir my_project - `mkdir my_project`
- git init - `git init`
## 3. Create file in ui ## 3. Create file in GUI
#### Exercice: #### Exercice:
- create a file called first_file.txt in the ui - create a file called `first_file.txt` in the GUI
- add content in this file, like "hello world" - add content in this file, like "hello world"
#### Concept #### Concept
...@@ -39,13 +39,13 @@ ...@@ -39,13 +39,13 @@
- get content and modification - get content and modification
#### Command #### Command
- git remote - `git remote`
- git pull - `git pull`
## 5. Create file on your computer ## 5. Create file on your computer
#### Exercice: #### Exercice:
- create a file called second_file.txt in my_project folder - create a file called `second_file.txt` in `my_project folder`
- add content in this file, like "I love linux" - add content in this file, like "I love linux"
#### Concept: #### Concept:
...@@ -53,9 +53,9 @@ ...@@ -53,9 +53,9 @@
- commit message - commit message
#### Command: #### Command:
- git add - `git add`
- git status - `git status`
- git commit - `git commit`
## 6. Report modification on Gitlab/Github ## 6. Report modification on Gitlab/Github
...@@ -66,16 +66,16 @@ ...@@ -66,16 +66,16 @@
- compare history - compare history
#### Command: #### Command:
- git push - `git push`
- git status - `git status`
- git log - `git log`
## 7. Pause 5 minutes ## 7. Pause 5 minutes
## 8. Create Branch ## 8. Create Branch
#### Exercise: #### Exercise:
- create a local branch my_first_branch - create a local `branch my_first_branch`
- Modify a file - Modify a file
- Push the branch on github/gitlab - Push the branch on github/gitlab
...@@ -84,14 +84,14 @@ ...@@ -84,14 +84,14 @@
- best practice (master/main as ref, branch for bugfix/feature) - best practice (master/main as ref, branch for bugfix/feature)
#### Command: #### Command:
- git checkout - `git checkout`
- git commit - `git commit`
- git push - `git push`
## 9. Create Merge Request ## 9. Create Merge Request
#### Exercise: #### Exercise:
- in gitlab/github create a merge request for my_first_branch - in gitlab/github create a merge request for `my_first_branch`
- wait for comment on other person merge request - wait for comment on other person merge request
- get local modif after merge - get local modif after merge
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
- merge - merge
#### Command: #### Command:
- git fetch - `git fetch`
- git merge - `git merge`
## 10. Get existing repository ## 10. Get existing repository
...@@ -113,14 +113,14 @@ ...@@ -113,14 +113,14 @@
- fork - fork
#### Command: #### Command:
- git clone - `git clone`
- git remote - `git remote`
## 11. Propose change ## 11. Propose change
#### Exercise: #### Exercise:
- Create a Local Branch - Create a Local Branch
- Add a file your_firstname.txt with content like "I love git" - Add a file `your_firstname.txt` with content like "I love git"
- Push on your forked repository - Push on your forked repository
- Create a Merge Request - Create a Merge Request
...@@ -128,10 +128,10 @@ ...@@ -128,10 +128,10 @@
- share work - share work
#### Comand: #### Comand:
- git checkout - `git checkout`
- git add - `git add`
- git commit - `git commit`
- git push - `git push`
## 12. Update your fork ## 12. Update your fork
...@@ -142,8 +142,8 @@ ...@@ -142,8 +142,8 @@
- keep master/main clean - keep master/main clean
#### Command: #### Command:
- git pull - `git pull`
- git push - `git push`
## 13. Pause 5 minutes ## 13. Pause 5 minutes
......
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