closed
lilsamuraix
issue
## Step 5: Commit a file

:tada: You created a branch!

Creating a branch allows you to make modifications to your project without changing the deployed `main` branch. Now that you have a branch, it’s time to create a file and make your first commit!

<details><summary>Commits 101</summary>

## Commits 101

When you’re finished creating or making changes to a file on GitHub, scroll to the bottom of the page. Then find the "Commit new file" section.

In the first field, type a commit message. The commit message should briefly tell contributors about the changes you are introducing to the file.

### Rules to live by for commit messages:

- Don’t end your commit message with a period.
- Keep your commit messages to 50 characters or less. Add extra detail in the extended description window if necessary. This is located just below the subject line.
- Use active voice. For example, "add" instead of "added" and "merge" instead of "merged".
- Think of your commit as expressing intent to introduce a change.

<hr>
</details>

### :keyboard: Activity: Your first commit

The following steps will guide you through the process of committing a change on GitHub.


1. Create a new file on this branch, in a `_posts` folder called `0000-01-02-lilsamuraix.md`. You can do so using [this shortcut](https://github.com/lilsamuraix/github-slideshow/new/lilsamuraix-patch-1?filename=_posts/0000-01-02-lilsamuraix.md) or manually as follows:
      - Return to the "Code" tab
      - In the branch drop-down, select "lilsamuraix-patch-1"
      - Click **Create new file**
      - In the "file name" field, type `_posts/0000-01-02-lilsamuraix.md`. Entering the `/` in the filename will automatically place your file in the `_posts` directory.
1. When you’re done naming the file, add the following content to your file:
      ```yaml
      ---
      layout: slide
      title: "Welcome to our second slide!"
      ---
      Your text
      Use the left arrow to go back!
      ```
1. After adding the text, you can commit the change by entering a commit message in the text-entry field below the file edit view. For guidelines on commit messages, check out the **Commits 101** drop-down, just above these instructions
1. When you’ve entered a commit message, click **Commit new file**

<hr>
<h3 align="center">I'll respond when I detect a new commit on this branch.</h3>
This message directly preceded comment from bot *github-learning-lab[bot]* by author *lilsamuraix*:
This message directly preceded comment from bot *github-learning-lab[bot]* by author *lilsamuraix*: