You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This exercise is a part of our Github source control and basics workshop. If you're completely new to Github and git, we highly recommend you read through the workshop contents if you want to learn both.
This exercise is to help you get familiar with the process on how to create a pull request.
If you are not familiar with Git and GitHub and are completely new, please see our #9 first before going through this exercise.
In this exercise, you'll create and merge a pull request against the repo you created in #9.
For terminologies, please refer to the source-control-basics.md workshop contents.
Steps
Let’s go back to Visual Studio’s Terminal window again. And let’s pull any changes to make sure we have the latest changes. git pull
Let’s create a new branch. git checkout -b name_of_your_branch
Push the branch to the remote server. Since we don’t have the branch created in our remote, we need to set this one as the upstream branch in remote. git push --set-upstream origin name_of_your_branch
Load your repository on github.com in your browser and you should see “2 branches” there now. Note the number of “commits” here. Click on the “2 branches” and go to your new branch and note the number of commits. The branch should have 1 more commit than the “master” branch.
Let’s make a pull request. Click the “Compare & Pull Request “ button.
In the next screen, write a comment as desired, and click the “Create Pull Request” button.
Complete the pull request by clicking on the “Merge pull request” button + “confirm merge” button after that.
Go back to your repository on github.com and you should see the number of commits would be 2 more than the previous number. This includes the “1” commit from your branch, and another commit for the pull request merge.
The text was updated successfully, but these errors were encountered:
Your 1st Pull Request
This exercise is a part of our Github source control and basics workshop. If you're completely new to Github and git, we highly recommend you read through the workshop contents if you want to learn both.
This exercise is to help you get familiar with the process on how to create a pull request.
If you are not familiar with Git and GitHub and are completely new, please see our #9 first before going through this exercise.
In this exercise, you'll create and merge a pull request against the repo you created in #9.
For terminologies, please refer to the
source-control-basics.md
workshop contents.Steps
git pull
git checkout -b name_of_your_branch
git push --set-upstream origin name_of_your_branch
Readme.md
file and push your changes. (See GitHub Basics Workshop - Exercise #1 - Your 1st Repo & Commit #9 for reference)The text was updated successfully, but these errors were encountered: