Files
30-seconds-of-code/snippets/set-text-editor.md
Isabelle Viktoria Maciohsek ed2f41b0d8 Bake dates into snippets
2021-06-13 19:47:48 +03:00

465 B

title, tags, firstSeen, lastUpdated
title tags firstSeen lastUpdated
Configure the git text editor configuration,intermediate 2021-04-04T21:25:22+03:00 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