You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that this project uses "Create a merge commit" while merging PRs.
This creates a merge commit, and all commits from PR (including experimental ones) are merged to master.
In aws/aws-sdk-js-v3, we squash almost all the times to keep the commit history clean.
If we need more info about specific commit, we visit PR associated with the commit and view its commits.
We use “rebase and merge” for rare PRs, where individual commits need to be preserved.
For example, PR which generates initial code for 17 clients was rebased and merged aws/aws-sdk-js-v3#746
We use commitlint in CI and lint-staged to test for format of commit message in each commit aws/aws-sdk-js-v3#239
For squashed commit msg, the maintainer ensures the PR is title is updated before merging.
We usually update the title as soon as context changes, and verify if title is incorrect before reviewing the PR
We are working on an auto-merge.
While most PR's should be squashed, not every one should.
Expressing this intent between the project and the requester is key.
At this time, I am using the Require branches to be up to date before merging setting in branch protection.
This should help with keeping the history linear if not perfectly clean.
I noticed that this project uses "Create a merge commit" while merging PRs.
This creates a merge commit, and all commits from PR (including experimental ones) are merged to master.
Commit history: https://github.com/aws/aws-sdk-js-crypto-helpers/commits/master
Merge commit and base commits for #26

Mixed commits between #19 and #25

Suggestion: Do the following in settings https://github.com/aws/aws-sdk-js-crypto-helpers/settings
Squash and merge will create one commit per PR, keeping the history clean.
Squash merging is used in https://github.com/aws/aws-sdk-js-v3/commits/master
The text was updated successfully, but these errors were encountered: