Search code examples
gitgit-commit

git commit not working github (GIT: Failed to execute git )


I tried it in CMD/Gitbash/Vscode/Rubymine

In vs code I get:

enter image description here

IN ALL TERMINAL'S I GET:

enter image description here

THIS IS THE GitLog ()even though I try to create the file manually it doesn't work any way:

10:27:56.174: [app-front] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- .husky/pre-commit
10:27:56.239: [app-front] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F C:\Users\admmd\AppData\Local\Temp\git-commit-msg-.txt --
10:28:09.247: [app-front] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- .husky/pre-commit
10:28:09.288: [app-front] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F C:\Users\admmd\AppData\Local\Temp\git-commit-msg-.txt --

git bash (I tried re installing):

Error: Could not fork child process: Resource temporarily unavailable (-1).

DLL rebasing may be required; see 'rebaseall / rebase --help'.

Solution

  • what I found was:

    1. Windows Security
    2. Click App & browser control
    3. Scroll down and click Exploit protection settings
    4. Find the Force randomization for images section and select Off by default
    5. Reboot

    enter image description here