I'm new with Git and have a problem with "stash" commands.
When i write commands like "git stash", "git stash list", "git stash apply", "git drop", ... , i always get a file named "sh.exe.stackdump" with this:
Exception: STATUS_STACK_OVERFLOW at rip=7FFFE2A29F97
rax=0000000000001250 rbx=00000000FFFFADF0 rcx=0000000000000000
rdx=0000000180010018 rsi=0000000180271780 rdi=000000018021C490
r8 =00000000000C2790 r9 =0000000180271780 r10=00000000FFFF9000
r11=00000000FFE03190 r12=00000000FFFFACD0 r13=000000018021C490
r14=00000000FFFFAC70 r15=00000000FFFFADF8
rbp=0000000000000420 rsp=00000000FFFFAAD8
program=C:\Program Files\Git\usr\bin\sh.exe, pid 7748, thread unknown (0x3144)
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
or
Exception: STATUS_STACK_OVERFLOW at rip=7FFFE2A29F97
rax=0000000000001250 rbx=00000000FFFFACD0 rcx=0000000000000000
rdx=0000000180010018 rsi=0000000180271780 rdi=000000018021C490
r8 =00000000006A2790 r9 =0000000180271780 r10=00000000FFFF9000
r11=00000000FFE03490 r12=00000000FFFFABB0 r13=000000018021C490
r14=00000000FFFFAB50 r15=00000000FFFFACD8
rbp=0000000000000420 rsp=00000000FFFFA9B8
program=C:\Program Files\Git\usr\bin\sh.exe, pid 11624, thread unknown (0x13B8)
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Commands works fine, but it's annoying to delete it everytime i use "stash".
And when i try to name a stash, i get this error:
Cannot save the current index state
What should i do? I'm using Windows 10, git version 2.15.0.windows.1, and the windows command prompt
Here's the sequence to follow when using git stash: 1 Save changes to branch A. 2 Run git stash. 3 Check out branch B. 4 Fix the bug in branch B. 5 Commit and (optionally) push to remote. 6 Check out branch A 7 Run git stash pop to get your stashed changes back. More ...
Run git stash pop to get your stashed changes back. Git stash stores the changes you made to the working directory locally (inside your project's.git directory; /.git/refs/stash, to be precise) and allows you to retrieve the changes when you need them. It's handy when you need to switch between contexts.
You can use additional options to let git stash take care of untracked and ignored files: git stash -u or git stash --include-untracked stash untracked files. git stash -a or git stash --all stash untracked files and ignored files. To stash specific files, you can use the command git stash -p or git stash –patch:
You aren't limited to a single stash. You can run git stash several times to create multiple stashes, and then use git stash list to view them. By default, stashes are identified simply as a "WIP" – work in progress – on top of the branch and commit that you created the stash from.
I was experiencing this problem for months, I tried numerous Internet solutions (PATH fix, reinstall), today I finally managed to solve: The problem was a conflict with Comodo Internet Security (Comodo Firewall in my case), when I removed it, the error disappeared immediately.
I found the solution here: https://github.com/desktop/desktop/issues/4556
And here how to preserve the Comodo: https://help.comodo.com/topic-72-1-766-11485-Miscellaneous-Settings.html#shellcode_injection&_ga=2.241892802.1773408369.1525225022-41239862.1525101797
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With