For the benefit of programmers.
Contribute to Open source and make the world a better place. You can create new folders if you want to. But take special care while naming them. Programmers need not be descriptive but when it comes to being organised, hell yeah.
Contributions are always welcome. Language doesn't matter. Just make sure you're implementing an algorithm.
Pull requests helps you to let the maintainer of the project know the changes you want to make to their project. Once a pull request (PR) is opened the project owner or the maintainers can review the changes and can merge them to their project or close the pr.
Here we are going to create a pr with changes in the file.
-
Fork the repository to your GitHub account by clicking on the fork button in the upper right corner of the page.
-
Now there are two ways for making changes to the file
FOR THIS YOU NEED GIT INSTALLED IN YOUR LOCAL COMPUTER
- First of all click on the fork, top upper right button.
- Click on "Clone or download" button in your forked repositories page.
- Copy the web url.
- Run
git clone CopiedWeburl
in the terminal of your local computer. After cloning is done move inside the cloned folder. - Go to that folder.
- Type your name, email and write into the file and save it.
- In the terminal run
git add .
git commit -m "Your Commit message"
git push origin master - Now return to the forked repository in GitHub in your browser and click on "New pull request" Button.
- Type unique_title_name as the title of the pr and your name and email in the description box.
- Click on "Create pull request" button and you are done!
Want to learn more about Git? Follow our Git Cheatsheet
- In the forked repository go to file and click on the pencil icon to edit it.
- Type your text inside it and write some approprate commit messages then click on "Commit changes".
- Now click on "New pull request" button.
- Type unique_title_name as the title of the pr and your name and email in the description box.
- Click on "Create pull request" button and you are done!