VS Code tips — Configuring VS Code as git's default editor

Published: 16 November 2020
on channel: Code 2020
19,541
138

Today's VS Code tip: VS Code as git editor

To configure VS Code as #git's default editor, in a terminal run:

git config --global core.editor "code --wait"

Now git will use VS Code to edit commit messages. You can also configure VS Code as git's default diff tool

https://code.visualstudio.com/docs/ed...


On this page of the site you can watch the video online VS Code tips — Configuring VS Code as git's default editor with a duration of hours minute second in good quality, which was uploaded by the user Code 2020 16 November 2020, share the link with friends and acquaintances, this video has already been watched 19,541 times on youtube and it was liked by 138 viewers. Enjoy your viewing!