-
Notifications
You must be signed in to change notification settings - Fork 11
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
Template and guidelines for git commits #21
Comments
Feedback sought with links to this issue: Agree on removing sem ver and signature from message format. |
Simple demo of changes to demonstrate gitflow on a local machine. DevFlow-Developer1/cheeseburger/feature/firstIngredients v0.1.0-firstIngredients.1 See also: rudimusmaximus/DevFlow#21
DevFlow-Developer1/cheeseburger/feature/firstIngredients v0.1.0-firstIngredients.1 See also: rudimusmaximus/DevFlow#21
DevFlow-Developer1/cheeseburger/feature/firstIngredients v0.1.0-firstIngredients.3 See also: rudimusmaximus/DevFlow#21
DevFlow-Developer1/cheeseburger/feature/firstIngredients v0.1.0-firstIngredients.2 See also: rudimusmaximus/DevFlow#21
Subject line types are More detailed explanatory text, if necessary. Wrap it to about 72 Explain the problem that this commit is solving. Focus on why you Further paragraphs come after blank lines.
If you use an issue tracker, put references to them at the bottom, See also: |
This article explains how to setup your own global git commit message template or to do so locally for your repo. |
Updated version you can cut and past for subject and body of commit templateSubject linesubjectLineType: SummarizeChangesInAround50CharsOr Body - copy from below below line to end of comment#subjectLineTypes: { feat fix docs style refactor test chore } #Explain the problem that this commit is solving. Focus on why you #Further paragraphs come after blank lines. - Bullet points are okay, too- Typically a hyphen or asterisk is used for the bullet, precededby a single space, with blank lines in between, but conventionsvary here#If you use an issue tracker, put references to them at the bottom, #See also: #number, #anotherIssue OR no line at all |
My current default git commit is subjectLineTypes: { feat fix docs style refactor test chore }
# More detailed explanatory text, if necessary. Wrap it to about 72
# characters or so.
#
# Explain the problem that this commit is solving. Focus on why you
# are making this change as opposed to how (the code explains that).
# Are there side effects or other non-intuitive consequences of this
# change? Here's the place to explain them.
#
# Further paragraphs come after blank lines.
#
# - Bullet points are okay, too
#
# - Typically a hyphen or asterisk is used for the bullet, preceded
# by a single space, with blank lines in between, but conventions
# vary here
#
# If you use an issue tracker, put references to them at the bottom,
# like this:
#
# Resolves: #123 [DO NOT use GitHub issue close language if running sprints using ZenHub Here]
# See also: #number, #anotherIssue OR no line at all use this with the subject moved into the subject line and tell GKraken to remove # comment lines |
objective / purpose
Formalize git commit style for DevFlow.
completion checklist
POST LIVE:
full pipeline documentation
Overview - describe with history and related items
Referencing style guides for Udacity nanodegree front end web developers, modify contributing.md with an adapted template for DevFlow. These are not automated, so add a check for consistency in the default issue lifecycle.
See these from Udacity course notes:
Solution Design
Adapted from Udacity Git Style Guide for this DevFlow.
issues.md
We need this new checklist item in the issue lifecycle.
contributing.md
Add a section in contributing based on Git commit style guide above.
WHERE subject is mandatory and the rest optional based on content.
where repo uses git flow and semantic versioning inside codebase namespace.
EXAMPLE modified from Udacity
What's New Entry
Solution Implementation Notes
Note when using GitFlow and our DevFlow label scheme with this new commit style guide, we have three different schemes of classifying changes each with its own purpose and we can make the case for each being equally valid. We will do all three. Listed here for clarity.
subject line types
release,
hotfix
fix,
docs,
style,
refactor,
test,
chore
DOCUMENTATION,
admin-bug,
admin-duplicate,
admin-enhancement,
admin-invalid,
admin-optimization,
admin-question/assignment
Plus the other DevFlow labels as dictated in CONTRIBUTING.MD guidelines
Developer Testing- Disposable Alpha and Release Candidate
Live Testing - Beta live to a controlled audience
Customer Experience - Re-open and append if issues for customers
The text was updated successfully, but these errors were encountered: