Git stash not working correctly

Hey guys, so I’ve been having an issue with my git stash that it hasn’t been working correctly. When I want to save my local changes before I pull from our branch, it reverts back to a previous pull and causes an error message to appear:

$ git stash
CreateProcessW failed for ‘C:\Program F iles\Git\usr\bin\sh.exe’, errno 13
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: Permission denied

I was wondering does anyone know what might be the issue with regards to this. 

 

This looks to me like something in your Git installation on Windows is broken. You may want to uninstall your current installation and install clean from https://git-scm.com/downloads ?

2 Likes