mirror of
https://git.erg.school/P039/art_num_2024.git
synced 2026-02-04 04:59:18 +01:00
fix code format in README
This commit is contained in:
53
README.md
53
README.md
@@ -6,33 +6,48 @@ test port ssh
|
|||||||
|
|
||||||
## how to
|
## how to
|
||||||
1. clone this repo to you own computer
|
1. clone this repo to you own computer
|
||||||
` git clone https://git.erg.school/P039/art_num_2024.git`
|
```
|
||||||
|
git clone https://git.erg.school/P039/art_num_2024.git
|
||||||
|
```
|
||||||
2. check before eatch courses for update
|
2. check before eatch courses for update
|
||||||
` git pull `
|
```
|
||||||
|
git pull
|
||||||
|
```
|
||||||
3. create your own branch
|
3. create your own branch
|
||||||
` git checkout -b prenom-nom `
|
```
|
||||||
|
git checkout -b prenom-nom
|
||||||
|
```
|
||||||
4. create and update README with your name
|
4. create and update README with your name
|
||||||
` nano README `
|
```
|
||||||
5. save the file with ctr+X
|
nano README
|
||||||
|
```
|
||||||
|
5. save the file with `ctrl+X`
|
||||||
6. check git tracking
|
6. check git tracking
|
||||||
` git status `
|
```
|
||||||
|
git status
|
||||||
|
```
|
||||||
7. add and commit the change in the git
|
7. add and commit the change in the git
|
||||||
` git add README `
|
```
|
||||||
` git commit -m 'change README`
|
git add README.md
|
||||||
|
git commit -m 'change README'
|
||||||
|
```
|
||||||
8. check the commit was registered
|
8. check the commit was registered
|
||||||
` git log `
|
```
|
||||||
` git show <commit-id> `
|
git log
|
||||||
|
git show <commit-hash>
|
||||||
|
```
|
||||||
9. push your branch on gitea
|
9. push your branch on gitea
|
||||||
` git push origin prenom-nom `
|
```
|
||||||
|
git push origin prenom-nom
|
||||||
|
```
|
||||||
10. update your branch with latest main branch
|
10. update your branch with latest main branch
|
||||||
` git checkout main `
|
```
|
||||||
` git pull origin main ` or ` git pull `
|
git checkout main
|
||||||
` git checkout prenom-nom `
|
git pull origin main
|
||||||
` git rebase main `
|
git checkout prenom-nom
|
||||||
|
git rebase main
|
||||||
|
git log
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## content
|
## content
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user