- Use VS Code
git config --global core.editor "code --wait"Needs the code command. Close the editor tab to finish the commit. Prefer nano? Use "nano" instead.
Check it worked
- Check the setting
git config --global core.editor
Undo it
- Go back to the default
git config --global --unset core.editor
- Use VS Code
git config --global core.editor "code --wait"Needs the code command. Close the editor tab to finish the commit. Prefer nano? Use "nano" instead.
Check it worked
- Check the setting
git config --global core.editor
Undo it
- Go back to the default
git config --global --unset core.editor
- Use VS Code
git config --global core.editor "code --wait"Needs the code command. Close the editor tab to finish the commit.
Check it worked
- Check the setting
git config --global core.editor
Undo it
- Go back to the default
git config --global --unset core.editor