Pull Requests
and raise a Pull Request
selecting your fork on the right drop downFork
this Repository Clone
it locally (Use github Desktop to make things easier) click on the clone button (green in colour). This gives you a copy of the project. Its now yours to play around with
git clone https://github.com/yourGithubUsername/javacodes
cd javacodes
git checkout -b <name of new branch>
Create a new folder and submit your java code
Stage your changes
git add yourprogramname.java
or
git add .
git commit -m "Add <your-Java_program >"
git status
git push origin <name of your branch>
or
git branch -M main
git push -u origin main
git push origin main --force
Navigate to your fork, on the top of the files section you'll notice a new section containing, a contribute button!
Click on the contribute button, it will open a drop down, click the pull request button on the drop down
Note: A pull request allows your changes to be merged with the original project.
Wait for your changes to be merged
Hurray! You made your contribution!! Don't forget to star this repo if it was helpful to you!