Files
30-seconds-of-code/snippets/set-text-editor.md
Isabelle Viktoria Maciohsek 38ccf0471e Add configuration snippets
2021-04-04 21:25:22 +03:00

383 B

title, tags
title tags
Configure the git text editor configuration,intermediate

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