-
Fork the repo
-
Clone the forked repo into your local machine
$ git clone https://github.com/your_username/hacktoberfest-java.git- cd to the repo
$ cd hacktoberfest-java - Create a branch
$ git checkout -b mybranch-
Open the repo code using any IDE/text-editors
-
There are different packages for topics such as file, oop, generics, collections and exceptions. Write a program under your desired topic.
-
Add, Commit and Push the changes to your forked repo
$ git add .
$ git commit -m "your commit message"
$ git push origin mybranch- Create a pull request from
mybranchof your forked repo tomainbranch of this(upstream) repo.