Skip to content

Commit

Permalink
Merge pull request #12 from Priyanshu2631/Update-Contributing.md
Browse files Browse the repository at this point in the history
Update CONTRIBUTING.md
  • Loading branch information
princekhunt committed Jun 11, 2024
2 parents 82649ee + 14fd2ff commit 1071a48
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,52 @@ To start contributing to PrivatePing, follow these steps:
7. Push your changes to your forked repository.
8. Submit a pull request to the main repository, detailing the changes you've made.

## **Need some help regarding the basics?**


You can refer to the following articles on basics of Git and Github and also contact the Project Mentors,
in case you are stuck:

- [Forking a Repo](https://help.github.com/en/github/getting-started-with-github/fork-a-repo)
- [Cloning a Repo](https://help.github.com/en/desktop/contributing-to-projects/creating-an-issue-or-pull-request)
- [How to create a Pull Request](https://opensource.com/article/19/7/create-pull-request-github)
- [Getting started with Git and GitHub](https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6)
- [Learn GitHub from Scratch](https://docs.github.com/en/get-started/start-your-journey/git-and-github-learning-resources)

### Alternatively contribute using GitHub Desktop

1. **Open GitHub Desktop:**
Launch GitHub Desktop and log in to your GitHub account if you haven't already.

2. **Clone the Repository:**
- If you haven't cloned the PrivatePing repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository."
- Choose the PrivatePing repository from the list of repositories on GitHub and clone it to your local machine.

3. **Switch to the Correct Branch:**
- Ensure you are on the branch that you want to submit a pull request for.
- If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.

4. **Make Changes:**
Make your changes to the code or files in the repository using your preferred code editor.

5. **Commit Changes:**
- In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit.
- Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to <branch-name>" button to commit your changes to the local branch.

6. **Push Changes to GitHub:**
After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.

7. **Create a Pull Request:**
- Go to the GitHub website and navigate to your fork of the PrivatePing repository.
- You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.

8. **Review and Submit:**
- On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
- Once you're satisfied, click the "Create pull request" button to submit your pull request.

9. **Wait for Review:**
Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the PrivatePing repository.

## Code Style

Please adhere to the existing code style and conventions used in the project. Consistent code style makes the codebase easier to read and maintain.
Expand All @@ -37,6 +83,14 @@ Please adhere to the existing code style and conventions used in the project. Co

If you encounter any bugs, issues, or have suggestions for improvements, please report them by creating an issue in the GitHub repository. Provide detailed information about the problem you encountered or the feature you'd like to see implemented.

## **Pull Request Process**

1. Ensure that you have self reviewed your code
2. Make sure you have added the proper description for the functionality of the code
3. Comment your code, particularly in hard-to-understand areas.
4. Add screenshot for further help in review.
5. Submit your PR by giving the necesarry information in PR template and hang tight we will review it really soon

## License

By contributing to PrivatePing, you agree that your contributions will be licensed under the MIT License. Make sure to include appropriate license headers in new files you create or modify.
Expand Down

0 comments on commit 1071a48

Please sign in to comment.