Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create your first PR / Join Developer Community Stats #8

Closed
subeshb1 opened this issue Oct 2, 2020 · 9 comments
Closed

Create your first PR / Join Developer Community Stats #8

subeshb1 opened this issue Oct 2, 2020 · 9 comments

Comments

@subeshb1
Copy link
Owner

subeshb1 commented Oct 2, 2020

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

  1. Fork the repository
  2. Clone the repository you have forked (Appears in the repository section of your profile)
  3. Checkout to a new branch. (Optional if you don't have a concept of branching)
  4. 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
  1. Commit the changes
  2. 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 the Code Button besides Compare Button
    Screen Shot 2020-10-03 at 07 50 41 Step 2: Make sure the following is branches are selected: Screen Shot 2020-10-03 at 07 51 31

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/

Screen Shot 2020-10-03 at 20 25 48

@subeshb1 subeshb1 added help wanted Extra attention is needed good first issue Good for newcomers Hactoberfest beginner labels Oct 2, 2020
@issue-label-bot

This comment has been minimized.

@abhijeetekad

This comment has been minimized.

@subeshb1
Copy link
Owner Author

subeshb1 commented Oct 3, 2020

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
Screen Shot 2020-10-03 at 07 50 41

Step 2: Make sure the following is branches are selected:
Screen Shot 2020-10-03 at 07 51 31

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

@abhijeetekad

This comment has been minimized.

@aortiz24

This comment has been minimized.

@abhijeetekad

This comment has been minimized.

@mohammadanang mohammadanang mentioned this issue Oct 5, 2020
3 tasks
@mohprilaksono mohprilaksono mentioned this issue Oct 5, 2020
3 tasks
@catw101 catw101 mentioned this issue Oct 5, 2020
3 tasks
@mani-rsg mani-rsg mentioned this issue Oct 7, 2020
3 tasks
subeshb1 added a commit that referenced this issue Oct 7, 2020
@isabellabond

This comment has been minimized.

@isabellabond

This comment has been minimized.

@isabellabond

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants