DEV Community

Discussion on: My commit message workflow

Collapse
 
jrock2004 profile image
John Costanzo

Can you show a screenshot of your git log to see how this looks?

Collapse
 
shreyasminocha profile image
Shreyas Minocha • Edited

Sure. Here's a git log --oneline from the repo for my school's MUN's website.
Link to screenshot

Collapse
 
jrock2004 profile image
John Costanzo

I was hoping to see how your template was used

Thread Thread
 
shreyasminocha profile image
Shreyas Minocha • Edited

Oh! The template's just comments. All lines beginning with '#' are ignored. Here's an example of how it would be used.

# If applied, this commit will…
Fix the Secretariat page on phones

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
Resolves issue #4

It's meant to be used as a guidance in framing the commit message in accordance with the seven principles I linked to in the article. I'm sorry that it wasn't clear. I've edited the article to make that obvious. Thanks!