Hi, I’m learning how to use github with command lines. I’m currently at step 5 of “Introduction to GitHub flow”. I don’t understand how to do #2 and #3. For now I bypassed it by using the web UI to commit a new file just to advance in the course, but I really wish to learn how to do it via command lines.
Check out to your branch:
git checkout my-slide
Create a new file named ‘_posts/0000-01-02-nanashin404.md’.
Add the following content to your file:
— layout: slide title: “Welcome to our second slide!” — Your text Use the left arrow to go back!
Stage your new file:
git add _posts/0000-01-02-nanashin404.md
Thanks a lot for your help!