Create your first PR / Join Developer Community Stats
subeshb1 opened this issue ยท 9 comments
Description
On the occasion of Hacktoberfest and to help beginners who have just started to get there hands dirty with GIt and Github, this repository is to guide newcomers and open source enthusiasts to come together and contribute.
The first issue is really simple, you only have to add the following fields in contributor.json
file:
"<guthub_username>": {
"country": "Your Country", // Required
"name": "Your Name", // Required
"linkedin": "linkedin URL", // Optional
"twitter": "twitter URL", // Optional
"website":"website or blog URL"//Optional
}
Here is a reference from an early contributor: #22
Steps
- Fork the repository
- Clone the repository you have forked (Appears in the repository section of your profile)
- Checkout to a new branch. (Optional if you don't have a concept of branching)
- Change in
contributor.json
add your information in the above json object. Note: Make sure you place your information in the correct order according to the GitHub user name in ascending order ignoring case sensivity. This is done to avoid many merge conflicts. If you don't want to do it manually, you can use the following command:
npx sort-json contributors.json --ignore-case
- Commit the changes
- Create a PR to the original repository
Here's how to do it:
Step 1: Go to Code section of forked repo an click on Pull request below theCode
Button besidesCompare
Button
Step 2: Make sure the following is branches are selected:
Here is a guide/lab if you haven't created any commits or PRs:
https://subeshbhandari.com/blog/git-and-github-practical-for-beginners
If you get stuck in any step feel free to tag me and request help
PS: Feel free to star the repository and follow me :)
After this, your PR will be reviewed and once all the checks pass it will be merged to master. The PR will we then labeled as hacktoberfest-approved
Outcome of this issue
- Collaboration and contribution to open source
- Experience continuous integration of code changes in a repository
- Be a part of Developer Community Stats
Repository Context
This repository shows the Github stats of every contributor that has contributed to the above file. In the future, more detailed stats will be shown for each individual contributor. For now, it only shows basic stats, for example, total contribution this year, followers, number of pull requests, repository count, etc. Once your PR gets merged it will be shown on the Website:
https://developer-community-stats.netlify.app/
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.84. Please mark this comment with ๐ or ๐ to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
thank you ..i am beginner .. i just made PR in your repository for hactoberfest...
Hi @abhijeetekad. This is a great way to getting started with open source. It looks like your PR has not been created.
You will need to create a new PR for the original repo.
Here's how to do it:
Step 1: Go to Code section of forked repo an click on Pull request below the Code
Button besides Compare
Button
Step 2: Make sure the following is branches are selected:
The base should be the original repository and base branch master.
Feel free to ask more if you get stuck
Here is a guide if you have never created a Pull request:
https://subeshbhandari.com/blog/git-and-github-practical-for-beginners
Can I be assigned this? It's my first time at Hacktoberfest!
Hello, I updated contributors.json for Hacktoberfest #48
Thank you
Whoops, resubmitted a pull request since the last one was in the wrong order #50
Thank you and happy Hacktoberfest
3rd times a charm #51