- Fork the project
- Make any changes in your forked repo
- On this repo, click
Pull Requests
and raise aPull Request
selecting your fork on the right drop down
Fork
this RepositoryClone
it locally (Use github Desktop to make things easier)- or Do it locally using the commands below
click on the clone button (green in colour). This gives you a copy of the project. Its now yours to play around with
- Using git on your local machine. Do this to download the forked copy of this repo to your computer
git clone https://github.com/yourGithubUsername/javacodes
- switch to the cloned folder. This can be done with Gitbash or the integrated terminal in the VSCode editor
cd javacodes
- Make a new branch. Your name would make a good branch because it's unique!
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 .
- Commit the changes
git commit -m "Add <your-Java_program >"
- Check the status of your repository
git status
- Pushing your repository to github
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!
List of actively participating individulas in open source contributions
- Add your own details to the contributor list
- Make a Pull Request
- Steps to add yourself to the contributers list
Thanks goes to these wonderful people (🤗):