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

Add commit standards #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

lindenmckenzie
Copy link
Contributor

What

Added commit standards - whilst we do follow GDS way, and it is important re-write content for the sake of it, I thought it important to have some of their copy in our standards to ensure they are read. Have also added some commentary around rebasing / merge commits etc. to reflect current practices.

How to review

Check reads ok and follows current standards.

Who can review

Tech leads.

@lindenmckenzie lindenmckenzie requested a review from a team as a code owner January 30, 2025 13:38
A good commit message briefly summarises the "what" for scanning purposes, but also includes the "why". If the "what" in the message is not enough, the diff is there as a fallback. This is not true for the "why" of a change - this can be much harder or impossible to reconstruct, but is often of great significance.

## Merging and squashing

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it also be useful to add a command line example of how this should be done here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that on how to commit? or how to squash? or how to squash merge?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The squash and squash merge

MebinAbraham
MebinAbraham previously approved these changes Feb 4, 2025
COMMIT_STANDARDS.md Outdated Show resolved Hide resolved
COMMIT_STANDARDS.md Outdated Show resolved Hide resolved
MebinAbraham
MebinAbraham previously approved these changes Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants