Closed github-learning-lab[bot] closed 5 years ago
Let’s complete the first step of the GitHub flow: creating a branch :book:.
git clone https://github.com/pdes/github-slideshow.git
cd github-slideshow
git branch my-slide
git push --set-upstream origin <BRANCH-NAME>
:tada: You created a branch!
Creating a branch allows you to make modifications to your project without changing the deployed master
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.
git checkout my-slide
_posts/0000-01-02-pdes.md
. ---
layout: slide
title: "Welcome to our second slide!"
---
Your text
Use the left arrow to go back!
git add _posts/0000-01-02-pdes.md
git commit -m "<YOUR-MESSAGE>"
git push
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 master
branch.
Add pdes'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