Skip to content

feat: custom commit message on submit#82

Open
0xhasann wants to merge 2 commits intocodecrafters-io:mainfrom
0xhasann:0xhasann/feat-commit-msg
Open

feat: custom commit message on submit#82
0xhasann wants to merge 2 commits intocodecrafters-io:mainfrom
0xhasann:0xhasann/feat-commit-msg

Conversation

@0xhasann
Copy link
Copy Markdown

@0xhasann 0xhasann commented Apr 8, 2026

This PR adds support for custom commit messages in codecrafters submit.

Users can now pass a message using -m / --message:

codecrafters submit -m "commit message"

This change is inspired by a user discussion: #41 (comment)
. I also encountered the same limitation while using the CLI.

Open to feedback and happy to make any changes if needed.

@0xhasann
Copy link
Copy Markdown
Author

0xhasann commented Apr 9, 2026

There are some Sample commits made using -m/--message for custom commit message.
https://github.com/0xhasann/codecrafters-redis-go/commits/main/

@anirudhranganath
Copy link
Copy Markdown

This is great! Hopefully its merged soon. Otherwise, I'd have to get this as a local copy

@0xhasann
Copy link
Copy Markdown
Author

Hey @andy1li, could you pls review this PR.

@andy1li andy1li requested a review from rohitpaulk April 19, 2026 23:05
@andy1li
Copy link
Copy Markdown
Member

andy1li commented Apr 19, 2026

Hey @0xhasann, thanks so much for putting together the PR!

I’ve cleaned it up a bit (mainly because we need the "[skip ci]" for every commit msg) and added a usage example. Will merge it once my boss reviews it.


@rohitpaulk Error messages:

image

@andy1li andy1li self-assigned this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants