error: cannot spawn .git/hooks/pre-commit: No such file or directory
See original GitHub issueDescribe 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 selecting Show Logs...
, if applicable.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Issues - GitHub
Hi, I'm using a windows machine. When I run standard-version I get: error: cannot spawn .git/hooks/pre-commit: No such file or directory.
Read more >Share - Stack Overflow
I'm using SourceTree and git LFS and had a similar issue: cannot spawn .git/hooks/pre-push . The fix was to delete the pre-push file...
Read more >Thursday, August 22, 2019 - Tips, Tricks and Tools
Git error: cannot spawn .git/hooks/post-commit: No such file or directory. This error could happen when on the Windows.
Read more >error: cannot spawn git: No such file or directory
> repository it must blow up some internal command line limits on cygwin. Good point, but are you sure you're using Git for...
Read more >Error cannot spawn git hooks pre push No error
Cannot run git hooks pre commit No such file or directory ... Go to.git/hooks directory and remove pre-commit file, as its trying to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Steve, Its working fine after removing
pre-commit
hook in.git/hooks
. Thanks a lot for your help@hokran are you wanting to use pre-commit hooks in this repository? If not, you can remove the
pre-commit
hook in.git/hooks
. If you are wanting to use a pre-commit hook it’d be helpful if you could share the contents of.git/hooks/pre-commit
so that we could see what the issue might be there.