62

I've seen some projects on GitHub (howdy being one of them that came to mind) where there are forks, but when I check the forks out they are either unchanged, or are behind by a few commits. I was wondering why this would happen. It couldn't be for archival purposes, could it?

you are viewing a single comment's thread
view the rest of the comments
[-] darklamer@lemmy.dbzer0.com -3 points 1 week ago

What do you think that people should be doing instead? What is your own workflow when contributing to projects on GitHub?

[-] plm00@lemmy.ml 8 points 1 week ago

OP is referring specifically to those who don't contribute but fork anyway.

[-] darklamer@lemmy.dbzer0.com -4 points 1 week ago

How could anyone possibly know that those people don't contribute? Why would anyone even try finding that information?

[-] eager_eagle@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

you compare the number of forks with the number of contributors

forks are almost always higher, not just higher, but often by a factor of 10

[-] tyler@programming.dev 4 points 1 week ago

that is just people that got their commits in, it doesn't mean that others didn't try to contribute, but failed.

[-] aloofPenguin@lemmy.world 0 points 1 week ago

I'd do a PR. Although I would understand forking if the project maintainers wouldn't merge a PR. (or create an issue (for the fix/ addition) if the README says that it's an option)

[-] cecilkorik@lemmy.ca 6 points 1 week ago

So while you're working on your PR, where do you push your commits? If you don't fork, you can't push them to Github. You don't have access to the repo you're making a PR for. That's exactly why people fork.

Of course you could just NOT push any commits, but then your commits only exist locally on your development machine, and if you have a hardware failure you've lost them, defeating the point of a distributed version control system. Or you could push them to another computer you have access to, but Github lets you push to your own free account for free, so most people would rather just do that. Which they do. By creating a fork.

Maybe it's okay if you're only creating a small PR with a single commit or two. But for more extensive development, anyone reasonable is going to create a fork so they have somewhere to store their work until it's ready. Once/If the PR is merged, the fork is abandoned as it's no longer needed. But that's why they exist.

[-] tyler@programming.dev 4 points 1 week ago

A PR requires push access... That's why you create a fork... So you can create a PR from your fork.

[-] Ephera@lemmy.ml 2 points 1 week ago

You generally have to fork to create a PR...

this post was submitted on 29 Oct 2025
62 points (98.4% liked)

Programming

23381 readers
618 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS