Push to GitHub & Create a Pull Request

español

Now that you have made some local commits, it is time to send your changes to the remote copy of your repository on GitHub.com and open a pull request.

gif of following the directions below

  1. On GitHub Desktop, click the button to sync changes. This button changes states based on the changes that have been made in your local repository and on the remote. If no other changes have been made, it will read Publish Branch.
  2. In your browser, go to the ‘Pull Requests’ tab of the class repository.
  3. Click ‘New pull request’.
  4. Ensure the base branch (the one on the left) is master and that the compare branch (the one on the right) is the one you created on GitHub Desktop.
  5. Complete the fields of the pull request.
Tell me why

Reviewing the GitHub Flow

We are following the 5 steps of GitHub Flow, which are:

  1. :white_check_mark: Create a branch
  2. :white_check_mark: Add commits
  3. Open a Pull Request :arrow_left: (This section deals with this step.)
  4. Collaborate, and make more commits
  5. Merge the Pull Request
Stuck? Open an issue in the repository for this class and mention @githubteacher for help from one of the GitHub trainers!
Continue