Last active
April 12, 2017 04:41
-
-
Save Teddybiers/18e5091e14b781d1ad5f02df8756f0b4 to your computer and use it in GitHub Desktop.
Set Visual Studio Code as a Git core editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First of all, you have to install Visual Studio Command Line Tool by | |
To install Visual Studio Command Line Tool is press | |
⌘ + ^ + p and type "Install 'code' command in PATH" | |
- Restart your shell if you use Mac Terminal or iTerm2 | |
or | |
- Restart your Visual Studio Code if you user Terminal in Visual Studio Code | |
After that, run "code --version" on your shell and see the result. | |
> 1.11.1 | |
> d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39 | |
It's time to change your git global editor by type: | |
git config --global core.editor "code --wait" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment