Set Visual Studio Code to be global Git editor on OSX

This work for me.

Install “code” from VSCode commander (Shift + Command + P)

Search for:

Shell Command: Install ‘code’ command in ‘PATH’

Install it.

after that… run commands on terminal for config git with new editor:

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

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)