-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
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 | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
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.