Below are the steps to follow to contribute to this project:
-
Fork this repository.
-
Clone your forked copy of the project.
git clone https://github.com/<your_user_name>/HactoberfestAccepted.git where your_user_name is your GitHub username.
- Navigate to the project directory 📁 .
cd HactoberfestAccepted 4. Add a reference(remote) to the original repository.
git remote add upstream https://github.com/gvpHactober/HactoberfestAccepted/ 5. Check the remotes for this repository.
git remote -v 6. Always take a pull from the upstream repository to your main branch to keep it at par with the main project(updated repository).
git pull upstream main 7. Create a new branch.
git checkout -b <your_branch_name> 8. Make necessary changes and commit those changes
- Track your changes.
git add . 10. Commit your changes .
git commit -m "Commit message" 11. Push the committed changes in your feature branch to your remote repo.
git push -u origin <your_branch_name> 12. 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.
-
Add appropriate title and description to your pull request explaining your changes and efforts done.
-
Click on Create Pull Request.
-
And you are done creating a pull request to this project. Be patient while we review your code and merge the changes.