Skip to content

colbyjohnson16/first-pull-request

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

first-pull-request

This is a sample repository to learn to make a pull request

1.) Fork the repository

At the top right of the page, a fork button should be visible. Forking a repository is the first step to conrtibuting to open source projects

2.) Clone the repository

Once forked, open IntelliJ and open File->New->Project from Version Control. Then find the github tab on the left, and open the repository.

3.) Create a new branch

Now with the project in IntellliJ, find the branch button at the bottom of the screen. Next, create a new branch with a descriptive name.

4.) Fix the issue

Complete the method to sum the array

5.) Commit changes

Press the green check button on the top right of your screen to commit your changes. Next, provide a description to what you had done. Press commit.

6.) Push and Pull Request

Press the green arrow next to the commit button to push the changes to your fork. Finally, open the original repository, go to pull request, create a new pull request, make sure the changes are from your fork, and provide a short message of what you had changed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%