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.

Allow custom names in commits

See original GitHub issue

Just like a CVS history, commits with proper names increase readability.

- 00001_create_users.sql
- 00002_create_topics.sql
- 00003_add_name_to_users.sql

Two options to customize the name:

  1. Commit normally and edit the filename by appending _the_message
  2. Add -m argument to migrate commit in order to specify the name

What do you think? Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
benjiecommented, Oct 23, 2019

I’m going to close this issue for now as no-one is planning to implement it and I don’t see it as a major issue in the software. Thank you for the discussion 👍

2reactions
benjiecommented, Oct 23, 2019

Thanks for your feedback @lukaspili; your answers make sense. I think on the filename front we should be quite restrictive so that users don’t accidentally exclude future developers on other platforms; your regexp makes sense for this, though it may cause issues for developer working with non-latin alphabets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I change the author (name / email) of a commit?
Another way is to use Git's "filter-branch" command. It allows you to batch-process a (potentially large) number of commits with a script. You...
Read more >
GIT commit as different user without email / or only email
10 Answers 10 · Only user name. Omit the email address explicitly: git commit --author="John Doe <>" -m "Impersonation is evil." · Only...
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 >
Push rules - GitLab Docs
This push rule requires a Signed-off-by: trailer in every commit message, and rejects any commits that lack it. Validate branch names. To validate...
Read more >
Dealing with special characters in branch and tag names
Most branch and tag names with special characters can be handled by including the name in single quotes, for example 'hello-$USER' . In...
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