Compare commits
1 Commits
621bdc3a2d
...
chloe-delp
| Author | SHA1 | Date | |
|---|---|---|---|
| 492f687163 |
54
README.md
54
README.md
@@ -1,54 +1,2 @@
|
|||||||
# git repo for art num
|
chloe delporte
|
||||||
|
|
||||||
*the wiki will be updated with more information and usefull snipet. fell free to contribute*
|
|
||||||
|
|
||||||
test port ssh
|
|
||||||
|
|
||||||
## how to
|
|
||||||
1. clone this repo to you own computer
|
|
||||||
```
|
|
||||||
git clone https://git.erg.school/P039/art_num_2024.git
|
|
||||||
```
|
|
||||||
2. check before eatch courses for update
|
|
||||||
```
|
|
||||||
git pull
|
|
||||||
```
|
|
||||||
3. create your own branch
|
|
||||||
```
|
|
||||||
git checkout -b prenom-nom
|
|
||||||
```
|
|
||||||
4. create and update README with your name
|
|
||||||
```
|
|
||||||
nano README
|
|
||||||
```
|
|
||||||
5. save the file with `ctrl+X`
|
|
||||||
6. check git tracking
|
|
||||||
```
|
|
||||||
git status
|
|
||||||
```
|
|
||||||
7. add and commit the change in the git
|
|
||||||
```
|
|
||||||
git add README.md
|
|
||||||
git commit -m 'change README'
|
|
||||||
```
|
|
||||||
8. check the commit was registered
|
|
||||||
```
|
|
||||||
git log
|
|
||||||
git show <commit-hash>
|
|
||||||
```
|
|
||||||
9. push your branch on gitea
|
|
||||||
```
|
|
||||||
git push origin prenom-nom
|
|
||||||
```
|
|
||||||
10. update your branch with latest main branch
|
|
||||||
```
|
|
||||||
git checkout main
|
|
||||||
git pull origin main
|
|
||||||
git checkout prenom-nom
|
|
||||||
git rebase main
|
|
||||||
git log
|
|
||||||
```
|
|
||||||
|
|
||||||
## content
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user