Why Nostr? What is Njump?
2023-12-16 20:45:54

jb55 on Nostr: small, focus, logically distinct commits will increase your chance of getting your ...

small, focus, logically distinct commits will increase your chance of getting your code integrated into open source projects. It will also help you write code in an incremental way that is much easier to reason about. It makes it easier to:

- incrementally pull your changes
- revert individual parts that might be broken
- git-bisect to binary search through your commits and find exactly what commit introduced a bug
- do code review
- understand what each change does via the commit description

Unfortunately GitHub actively encourages you to not think about commits which is another reason why I despise it and encourage email patch contributions.
if you want to improve your oss contributions, I’d encourage you to take a look at Will’s pr below and note:

- multiple, small commits. this allows reviewers to step through the pr. it tells a story.
- commit messages include a concise subject line and a more descriptive body.
- commit formats match the existing conventions in the codebase
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s