Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 1.19 KB

CONTRIBUTING.md

File metadata and controls

36 lines (24 loc) · 1.19 KB

Guidelines for adding files.

  1. Every file should first state the purpose of the program at the Top (before the code). For example : If you're creating a program to print the prime numbers in a range, then you should mention that at the beginning of the file by commenting it out.

  2. Don't add too basic programs like addition of two numbers or hello world.

  3. Follow the above set pattern while making PRs otherwise it won't be merged.

Contributing

  1. Fork the repository and clone it into your local machine.

    git clone https:/github.com/<username>/<repository>.git
  1. Create a branch in your local machine.

    git checkout -b [branch name]
  1. Add your program in its respective language folder. If language doesn't exist then create its folder.

  2. Commit and Push your program to your branch.

    git commit -m "<Add your Commit Message here>"
    git push origin [branch name]
  1. Create a Pull request.

Get to your repository and click on the green button that says Compare and Pull. Then open the Pull request and wait for it to get reviewed.

Congratulations you have successfully created your first pull request.