question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Commit subject should automatically be lowercase

See original GitHub issue

Description

Commit subject is not forced to be lowercase

Steps to reproduce

  1. cz c
  2. Choose any type.
  3. Write an uppercase character in the subject.
  4. Commit.

Current behavior

It maintains the uppercase character.

Desired behavior

The commit subject should fully be lowercase.

Environment

  • commitizen version: 1.23.0
  • python version: 3.6.10
  • operating system: Arch Linux

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
alecgeronacommented, Aug 13, 2020

Personally, I wouldn’t have this issue since I always start my commits with verbs or use the active voice, regardless of commit type. Given that, I’d like for it to be an option given the number of times I automatically capitalize the start of my sentences. I understand why you guys would not want it to be default.

1reaction
alecgeronacommented, Jul 29, 2020

Yeah I’m using commitizen js and was used to the automatic lowercase since it does mention in the CLI that it should be lowercase so I thought this should be enforced.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Case of commit messages · Issue #24 - GitHub
The only thing I could guess would be that it's easier to parse, but lowercase looks off as the start of all the...
Read more >
husky - Strange error when attempting to commit. [subject-empty]
To fix the error, change your commit message ("Hello world") to follow the Conventional Commits format, e.g. to "feat: hello world".
Read more >
Conventional Commits
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an...
Read more >
Commit Message Guide | Blockly - Google Developers
It is best if both your individual commits and the pull request title follow these guidelines. Type. The type must be non-empty, and...
Read more >
How to write a git commit message that won't disappoint your ...
I think of the subject line of a commit like the title instead of a sentence, and titles are capitalized.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found