Files
30-seconds-of-code/snippets/git/s/set-text-editor.md
2023-05-07 16:07:29 +03:00

473 B

title, type, language, tags, cover, dateModified
title type language tags cover dateModified
Configure the git text editor snippet git
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