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.

Using backtick (`) in commit message isn't valid

See original GitHub issue

Hello @carloscuesta!

Issue: When attempting to use a backtick character (`) like how I would in markdown, gitmoji does not think it is a valid commit

OS: MacOS 12,4 (monterey) gitmoji -v: 5.0.2 Node version: v18.6.0 (Though I did install via homebrew)

Error Message: >> Enter a valid commit message

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
carloscuestacommented, Aug 21, 2022

Hey! I tried to reproduce the injection of commands using backticks in git and looks like I’m not able to reproduce it anymore.

I will remove the guard so backticks can be used as part of the message and title again 🙏🏼

1reaction
dragid10commented, Jul 25, 2022

Hey @dragid10 do you want to raise a PR to fix this?

I’m more than happy to take a stab at it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Backticks in commit messages #80 - carloscuesta/gitmoji-cli
We use backticks ("`") in our commit messages around things like class names, function names ... Error Message: "Enter a valid commit title"....
Read more >
Backticks in git commit message - Stack Overflow
My intention with the backticks was that sum and sum_list be typed in a monospace font when someone views the commit message in...
Read more >
Backticks in Git Commit Messages - Joel Clermont
I frequently use backticks in Markdown to indicate a command to be typed or the fact that text is code instead of normal...
Read more >
7.1 Git Tools - Revision Selection
For example, to examine a specific commit where you know you added certain functionality, you might first run the git log command to...
Read more >
GitCommitMessages - OpenStack wiki
Review the commit message itself and request improvements to its content. Look out for commits which are mixing multiple logical changes and require...
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