Add the following prefixes to your commit message to help trigger automated processes 1:.Format: Use the imperative mood in the subject line: "If applied, this commit.This willĬhange the last commit (amend) instead of creating a new commit. To add changes to the previous commit, use git commit -amend -s.Use git rebase -i main to group commits together and rewrite their commit message.Was introduced, it's pretty meaningless to see a Fix linter commit message. For instance, when doing a git blame on a file to figure out why a change.This makes life much easier when using git log, git blame, git bisect, etc.Each commit should work on its own: it must compile, pass the linter and so on.Instead, these commits should be squashed together into a single "Add Feature" commit.For instance, a PR should not look like 1) Add Feature X 2) Fix Typo 3) Changes to features X 5) Bugfix for feature X 6) Fix Linter 7).Group Commits: Each commit should represent a meaningful change (e.g.DCO Ĭontributions to this project must be accompanied by a Developer Certificate ofĪll commit messages must contain the Signed-off-by line with an email address "Small incremental changes ftw" -> Small pull requests that get merged within hours! Commits License Ĭontributions to this project are made under the Apache License 2.0 (Apache-2.0). Both are greatĪpproaches, and they work really well in the context of Dagger. Partially implemented features & non-breaking changes. The added benefit is that this will force everyone to think about handling The quicker weĬan get these small improvementes in a Dagger release, the quicker we can getįeedback from our users and find out what doesn't work, or what we have missed. Specific change, the quicker we will have it out in a release. The sooner we can get multiple people looking at and agreeing on a The idea is that each improvement should land in Dagger's main branch within aįew hours. It's OK if it takes multiple pull requests to close an issue. We prefer small incremental changes that can be reviewed and merged quickly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |