Cosium / git-code-format-maven-plugin

A maven plugin that automatically deploys code formatters as pre-commit git hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Commit via GitHub Desktop

kachun333 opened this issue · comments

What steps will reproduce the problem?
Steps to reproduce the behavior:

  1. download GitHub Desktop
  2. open GitHub Desktop and click clone repository

image

  1. in the pop up modal
    1. go to URL tab
    2. input the repo URL https://github.com/kachun333/git-code-format-maven-plugin-example
    3. choose a Local path

image

  1. make some changes that violates the codestyle. click Commit to main

image

What is the expected output?
able to commit to main via GitHub Desktop successfully

What happens instead?

image

: No such file or directory 2: .git/hooks/git-code-format-maven-plugin-example.git-code-format.pre-commit.sh

Environment:

  • OS: Windows 10
  • Git version: 2.43.0.windows.1
  • git-code-format-maven-plugin version: 5.1
  • Maven version: 3.9.3

Link to a git repository that can be cloned to reproduce the problem:
This is critical. The absence of such repository will greatly reduce the chances of seeing the issue resolved.
https://github.com/kachun333/git-code-format-maven-plugin-example

Additional context
Btw, everything works great in CLI.

image