Skip to content
Snippets Groups Projects

Merge latest from git-basics into main.

Merged Mark HOEBEKE requested to merge git-basics into main
1 file
+ 45
28
Compare changes
  • Side-by-side
  • Inline
+ 45
28
@@ -6,34 +6,51 @@ Log in to GitLab and create your repository (you can use the same name : _Animal
## Use the Web IDE to add content
1. Create a `README.md` file and add some text.
2. Pick one of birds, fish, insects, mammals, reptiles, imaginary and create a Markdown file with the matching name (ex.: `imaginary.md`)
1. Pick one of birds, fish, insects, mammals, reptiles, imaginary and create a [Markdown](https://www.markdownguide.org/cheat-sheet/) file with the matching name (ex.: `imaginary.md`)
3. Add some contents to the file using the following format:
```
# Imaginary Animals Descriptions
Name
: Gremlin
Color
: All kinds of
Biotope
: Mostly urban but can live anywhere
Comments
: Don't feed after midnight
Name
: Totoro
Color
: Grayish
Biotope
: My neighbors garden
Comments
: Can be quite vocal at times
```
1. Add some contents to the file using the following format:
```
# Imaginary Animals Descriptions
## Gremlin
Name
: Gremlin
Color
: All kinds of
Biotope
: Mostly urban but can live anywhere
Comments
: Don't feed after midnight
## Totoro
Name
: Totoro
Color
: Grayish
Biotope
: My neighbors garden
Comments
: Can be quite vocal at times
```
4. Create an `images` folder
5. Add one or more images of the animals you described (using WikiPedia) to the `images` folder.
1. Create an `images` folder
1. Add one or more images of the animals you described (grabbed from WikiPedia) to the `images` folder.
## Create your first commit
1. Use the `Create commit...` button of the Web IDE
1. Check the `Commit to main branch` button **This is a really bad practice we will never repeat once we know how to use branches.**
1. Enter a commit message explaining what changes you made
1. Click the `Commit` button.
Loading