Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue. What did you do before the bug happened? (Steps to reproduce your issue) I executed "git commit -a --amend," where I pressed Ctrl+Z to exit. Later, when trying again, an error occurred. What did you expect to happen? (Expected behavior) I intended to execute the "git stash" command, but it is not functioning as expected. I wish to receive an error message to better understand the issue and address it accordingly. The command is silent, whereas during a commit, error messages are displayed, providing helpful feedback for resolution. What happened instead? (Actual behavior) Due to .git/lock file, git stash does not behave normally, and the error message does not show up Please review the rest of the bug report below. You can delete any lines you don't wish to share. [System Info] git version: git version 2.38.1.windows.1 cpu: x86_64 built from commit: b85c8f604d375d4d773a36842964e8a7ec056aae sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 22631 compiler info: gnuc: 12.2 libc info: no libc information available $SHELL (typically, interactive shell): [Enabled Hooks]