-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: cannot spawn .git/hooks/pre-commit: No such file or directory #14063
Comments
Thanks for the issue @hokran. Are you wanting to use hooks in this repository? GitHub Desktop will run pre-commit hooks on commit if your Git repository is configured to use them. Note however that the hooks will run inside of GitHub Desktop's environment which means they won't necessarily have access to the same environment variables as you'd normally have when using the command line. |
Hi Steve, let me know what info you needed to resolve this issue. |
@hokran are you wanting to use pre-commit hooks in this repository? If not, you can remove the |
Hi Steve, Its working fine after removing |
Glad to hear you were able to get things working! |
Describe the bug
when click on commit button, getting below error
'error: cannot spawn .git/hooks/pre-commit: No such file or directory"
Version & OS
Windows 10 Pro
GitHub Deskotp Version 2.9.10 (x64)
Steps to reproduce the behavior
1.Open git hut desktop version
2. Changes any one file
3. Enter commit text
4. Click on Commit button
Expected behavior
Write a clear and concise description of what you expected to happen.
Actual behavior
Write a clear and concise description of what actually happened.
Screenshots
Add screenshots to help explain your problem, if applicable.
Logs
Attach your logs by opening the
Help
menu and selectingShow Logs...
, if applicable.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: