Open Source Contribution
It's the month of Hacktoberfest 2020 which is providing a platform to start your open source contribution journey and win exciting goodies in the process!
How to do it?
Step 1: Create a github account.
Step 2: Register for Hacktoberfest 2020 using github account and read Rules for participation.
Step 3: Go to your Github account and search for repositories labelled as hactoberfest-accepted
Step 4: Create pull requests (you need to create 4 valid pull requests or PR to complete the challenge)
How to make a pull request?
Step 1: Get git on your machine
- For Linux:
sudo apt install git
- For Windows:
Install it from here
Step 2: Fork a repository (This creates a duplicate of the repository under your Github account.)
Step 3: Clone the repository
git clone https://github.com/repo_link.git
Step 4: In your machine, browse to the cloned folder, then:
- Create a new branch: git checkout -b new-branch
- Make the contribution as asked in the README file of repository
- Add the changes: git add .
- Commit the contribution: git commit -m "added new-branch"
Note: If you are being asked for your name and email, just enter:
git config --global user.email "abc@abc.com git config --global user.name 'abc'
you can replace it with your email if you like.
- Provide your username and password for GitHub.
- Push the contribution: git push origin new-branch
Step 5: You will get a link in the terminal to create a pull request.
- Click on the link, it will take you to GitHub, simple click on the button Create pull request.
- Now, wait for the owner of the repository to accept it and merge it, you will get the notification for the same on your registered email with the GitHub.
If you have any questions, please reach out to me on LinkedIn.
Good luck for your first PR!!
That's look interesting sir