Related post: Git hangs with "hint: Waiting for your editor to close the file..." when closing a commit message file in VSCode
I do not like the solution in the above link because it makes an entirely new vscode
instance. I used to be able to git commit --amend
and then a new tab in my current vscode
instance pops up where I then edit the commit message, save, and then close, and the hint: Waiting for your editor to close the file
then disappears. As of this morning, this no longer happens, and I don't think I made any changes in my ~/.gitconfig
.
These are my current settings in .gitconfig
[submodule]
recurse = true
[user]
name = my_email
email = my_email
[credential]
helper = cache --timeout=31536000
[url "https://github.com/"]
insteadOf = git://github.com/
[alias]
tree = log --oneline --graph --all --decorate
[core]
editor = code --wait
[diff]
tool = vscode
[difftool "vscode"]
cmd = code -n --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
Does anyone know of a solution for this?
P.S. I just tried the solution in the linked post where the amend is routed to a different instance, and that didn't work either. When i closed the new instance, it's still hanging on hint: Waiting for....