Skip to content

No such file or directory: '.git/COMMIT_EDITMSG' #88

Closed
@shenxianpeng

Description

@shenxianpeng

describe your issue

check commit message.....................................................Failed
- hook id: check-message
- exit code: 3

An unexpected error has occurred: FileNotFoundError: [Errno 2] No such file or directory: '.git/COMMIT_EDITMSG'
Check the log at /tmp/cache/commit-check/commit-check.log

More details: https://results.pre-commit.ci/run/github/485387677/1681156478.A-v-8Se8SZGUgEcJW7JhLQ

commit-check version

commit-check v0.5.4

.commit-check.yml

*

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions