Gatsby-theme-novela: Git commit issues

Created on 22 Oct 2019  路  4Comments  路  Source: narative/gatsby-theme-novela

Version of Novela you are using

0.9.4

Number of posts you have and which data source
(Local, Contentful options)

Local

Describe the bug
A clear and concise description of what the bug is.

When I try to commit my changes to this repository I get a message saying that a commit requires a subject and type. What am I expected to do?

I usually just do git commit -m "something".

Any help?

To Reproduce
Steps to reproduce the behavior:

  1. Type git commit -m "something"
  2. See error saying that subject and type is required.

Expected behavior
A clear and concise description of what you expected to happen.

Why can't I just commit without subject and type. I don't even know how to enter commit type or what it is.

Screenshots
If applicable, add screenshots to help explain your problem.

Browser

  • Browser [e.g. chrome, safari, iOS safari]

Additional context
Add any other context about the problem here.

Most helpful comment

It's pretty neat and fairly useful for OSS -- wonder if it would be useful to add to the contribution guides as a couple people have been stumped by it.

All 4 comments

Figured it out...

https://commitlint.js.org/#/

Haven't heard of this before, but it looks cool.

It's pretty neat and fairly useful for OSS -- wonder if it would be useful to add to the contribution guides as a couple people have been stumped by it.

I will try to write something and send a PR for this. At first I also looked at the contribution guide... so that would be the place for that.

Done ;)

Was this page helpful?
0 / 5 - 0 ratings