Files
30-seconds-of-code/snippets/set-text-editor.md
2023-04-28 22:15:54 +03:00

459 B

title, type, tags, cover, dateModified
title type tags cover dateModified
Configure the git text editor snippet
configuration
purple-sunset-beach 2021-04-13T21:10:59+03:00

Configures the text editor used by git.

  • Use git config --global core.editor <editor-command> to call <editor-command> as the git text editor.
git config --global core.editor <editor-command>
git config --global core.editor "code --wait"
# Sets VS Code as the git text editor