Skip to content

Instantly share code, notes, and snippets.

@junagao
Last active August 4, 2021 13:24
Show Gist options
  • Save junagao/4cb1deddaa16cd41259a9d15d6fc7645 to your computer and use it in GitHub Desktop.
Save junagao/4cb1deddaa16cd41259a9d15d6fc7645 to your computer and use it in GitHub Desktop.
How to configure VScode as default editor for Git

How to configure VScode as default editor for Git

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

The parameter --wait (-w) is to wait for window to be closed before returning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment