-
Notifications
You must be signed in to change notification settings - Fork 9
[FEATURE] Skip initial commit message when it's not a real initial commit #219
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestParticipation in the Hacktoberfest eventParticipation in the Hacktoberfest eventhelp wantedExtra attention is neededExtra attention is needed📝 documentationTasks related to writing or updating documentationTasks related to writing or updating documentation🕔 high effortA task that can be completed in a few daysA task that can be completed in a few days🛠 WIPWork in progressWork in progress
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestParticipation in the Hacktoberfest eventParticipation in the Hacktoberfest eventhelp wantedExtra attention is neededExtra attention is needed📝 documentationTasks related to writing or updating documentationTasks related to writing or updating documentation🕔 high effortA task that can be completed in a few daysA task that can be completed in a few days🛠 WIPWork in progressWork in progress
In the
dotnet-aicommitmessageproject, the following message is currently used for initial commits:However, this pattern should only be applied to true initial commits—not to the first commit on a feature branch that already has history. We need a way to programmatically detect whether a commit is genuinely the initial commit (in the repository or on a fresh orphan branch) and skip applying this default message otherwise.
Acceptance Criteria: