-
Notifications
You must be signed in to change notification settings - Fork 20
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
Better commit messages #422
Comments
Yes you've mentioned this before - apologies for this, just trying to get a change in quick to help you guys out as I know the pressure is on. Is there further conversation for this needed? I think it's just me that's particularly bad at this - an email to push me back on track will probably do 😄 If there's stuff we need to change or add in the documentation, it can be added to our development process documentation here https://github.com/akvo/akvo-rsr/blob/wiki-docs/docs/RSR%20Developer%20Documentation/Development%20Process/GitHub-Process.md |
Hehe, ya I totally understand. I think it's just something to try keep in mind, and get better at over time. I know I easily put too much in a commit and that's no good either. |
I'd also like to suggest a better 'schema' for branch naming, so that cleaning them up later becomes easier. In the absence of any better ideas, I like the git flow way in general and propose the following:
|
Yep, all good suggestions! |
Agree, I think all this stuff that helps everyone else see what we're doing is a great idea. Does anyone fancy adding this into the Dev documentation? 😉 |
This is a meta issue. I don't like the trend of commit messages like "First fix for #311 still need migration". If there's a github issue related to the commit the of course the reference should be included in the commit message header, but expressing what the commit is about in a sentence is really helpful sometimes.
So instead of the message above something like "[#311] Add Project.target_group field. Needs migration" is much nicer.
If the commit message header is too long because you added too much stuff to one commit (and I'm very guilty here myself 😜) then it might be a good idea to split the commit up in logical chunks.
The text was updated successfully, but these errors were encountered: