Allow custom names in commits
See original GitHub issueJust 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:
- Commit normally and edit the filename by appending
_the_message
- Add
-m
argument tomigrate commit
in order to specify the name
What do you think? Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 👍
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.