![]() ![]() Git waits for signal from shell to commit changes from temporary file to main file. The normal behavior is to return access to shell as soon Visual Studio Code is loaded. gitconfig into editor will open into Visual Studio Code.īy the way switch -wait holds shell until Visual Studio Code is closed. If no Error will be present then you can say that Visual Studio Code is added to your PATH.Īfter setting Visual Studio Code as your default editor, then command like this git config -global -e which is opening global. To test if your Visual Studio Code is added to PATH you could: press Win+ R and then enter code and press Enter. I might do it unwillingling during instalation proces. On Windows – I assume that path to your Visual Studio Code executable was added into global variable PATH. ![]() Git config -global core.editor "code -wait" To set Visual Studio Code as your default editor enter this command into command line: ![]() You can set Visual Studio Code as default editor and Diff tool which will be showing changes between two different commits. If you use Visual Studio Code there is very high probability, that you use also Git as your main version control system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |