You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me that has been the state with older Git versions as well, not sure entirely which.
To resolve I've resorted to passing " --wait --new-window" to VSCode when configuring it as the editor, causes VSCode to open a new separate window for the commit message which allows me to close it without closing my other VSCode tabs
I'm not sure if this is a duplicate. This issue refers to the commit message being accepted once the document is closed, rather than closing the whole VSCode program. #1875 refers to the commit not being accepted even when the program has been closed.
I've resolved this for myself locally. It looks like something (I'm assuming the Git installer) has updated my .gitconfig file to contain:
[core]
editor = 'C:\\Path\To\Vs\code.exe' --wait
Whereas previously, in my .gitconfig file that I have version controlled, it was set to:
[core]
editor = code --wait
Changing it back to the previous value of code --wait has fixed the issue for me. I'm guessing that this is due to microsoft/vscode#60192 .
Either the Git installer can change to set the core.editor setting to code --wait, or once VSCode's fix is released, it should just work anyway. As I understand it, waiting for VSCode's change may be preferable due to the overhead of creating the additional process that code --wait would perform.
It looks like something (I'm assuming the Git installer) has updated my .gitconfig file to contain:
[core]
editor = 'C:\\Path\To\Vs\code.exe' --wait
Yes, it looks like you chose the Visual Studio Code option in the installer that worked, but was broken by a VS Code change (which has been fixed in the meantime, as you figured out).
Uh oh!
There was an error while loading. Please reload this page.
Setup
64
Windows 10 64 bit
defaults?
to the issue you're seeing?
Details
Run in Git bash using ConEmu. Issue also happens in the git bash terminal when opened from the start menu.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Expected commit message to be accepted when the commit message document was saved/closed.
Git continued to wait for VSCode to be closed fully - previous version of Git did not require this.
URL to that repository to help us with testing?
Unrelated to a specific repository.
The text was updated successfully, but these errors were encountered: