Using Visual Studio Code as the Default Git Editor | SJB -->

This website uses cookies to ensure you get the best experience. More info...

Pages

Using Visual Studio Code as the Default Git Editor

A quick guide on how to set up VSCode as the default Git editor

Visual Studio Code has quickly become a very popular lightweight text editor. This post is to see how we set it up as default editor for Git. We can use as simple as the below command_
$ git config --global core.editor "code --new-window --wait"
 TIP: We can use bellow command to use VS Code as editor for configuring git.
$ git config --global -e
I hope this post is useful in some cases!

No comments:

Post a Comment