Files
30-seconds-of-code/snippets/set-text-editor.md
Angelos Chalaris 1397bb792e Deprecate expertise
2022-12-04 22:23:55 +02:00

509 B

title, tags, author, cover, firstSeen, lastUpdated
title tags author cover firstSeen lastUpdated
Configure the git text editor configuration maciv blog_images/purple-sunset-beach.jpg 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