Closed github-learning-lab[bot] closed 3 years ago
Let’s complete the first step of the GitHub flow: creating a branch :book:.
git clone
and press Enter
https://github.com/Tutu-Zhang/github-slideshow.git
main
at the bottom left of the VS Code window. This will bring up the Command Palette with the commands related to Git branches.
my-slide
. Then press Enter.main
.: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!
The following steps will guide you through the process of committing a change on GitHub.
_posts
folder, create a new file named 0000-01-02-Tutu-Zhang.md
. The full path to your file will be: _posts/0000-01-02-Tutu-Zhang.md
. ---
layout: slide
title: "Welcome to our second slide!"
---
Your text
Use the left arrow to go back!
Nice work making that commit :sparkles:
Now that you’ve created a commit, it’s time to share your proposed change through a pull request! Where issues encourage discussion with other contributors and collaborators on a project, pull requests help you share your changes, receive feedback on them, and iterate on them until they’re perfect!
This pull request is going to keep the changes you just made on your branch and propose applying them to the main
branch.
Add Tutu-Zhang's file
Introduction to GitHub flow
Now that you're familiar with issues, let's use this issue to track your path to your first contribution.
People use different workflows to contribute to software projects, but the simplest and most effective way to contribute on GitHub is the GitHub flow.
:tv: Video: Understanding the GitHub flow
Read below for next steps