1. Fork this repository.
2. Clone your forked copy of the project.
git clone https://github.com/<your-github-username>/java_codes.git
3. Add a reference(remote) to the original repository.
git remote add upstream https://github.com/iodump01/java_codes.git
4. Check the remotes for this repository.
git remote -v
5. Always take a pull from the upstream repository to your master branch to keep it as per with the main project(updated repository).
git pull upstream main
6. Create a new branch.
git checkout -b <your_branch_name>
7. Perfom your desired changes to the code base.
8. Track your changes:heavy_check_mark:
git add .
9. Commit your changes .
git commit -m "Relevant message"
10. Push the committed changes in your feature branch to your remote repo.
git push -u origin <your_branch_name>
11. To create a pull request, click on compare and pull requests
. Please ensure you compare your feature branch to the desired branch of the repo you are suppose to make a PR to.
12. Add appropriate title and description to your pull request explaining your changes and efforts done. Always make sure you have pulled the latest code from the master branch before making a PR.
13. Click on Create Pull Request
.
14. Hurrayâť—You have created a PR to Java Codesđź’Ą Sit back patiently and relax till then the project maintainers will review your PR. Please understand, there will be some time taken to review a PR and can vary from a few hours to a few days too so be Patient and keep contributing.
Hurray! You successfully made a contribution!