I want VS Code to be my standard git editor for commands like rebase. This is not like the documentation on the VS Code website. I found a SO question on how to do this for Windows, which sounds like it has mixed success: How to use Visual Studio Code as the default editor for Git
Has anyone managed this on OSX?
This is currently not possible with VS Code, but is planned for the future.
Update for our release of VS Code 1.0:
! , , Code git, --wait .
--wait
OS X El Capitan (10.11.4) :
/Applications
vscode
** ~/bin , :
cd ~ && mkdir bin
~/bin , :
ln -s /Applications/Visual \Studio\Code.app/Contents/Resources/app/bin/code ~/Bin/vscode
~/bin/
~/.gitconfig
code
[]editor = vscode --wait
git config --global core.editor "vscode --wait"
"" VSCode (Shift + Command + P)
then use these 2 lines in your terminal,
$ git config --global core.editor "code --wait" $ git config --global -e
if you want to see the local git configuration,
$ cd /path/to/git/repo/ $ git config -e
This work is for me.
Set the "code" from the VSCode commander (Shift + Command + P)
Search for:
Shell command: set the 'code' command to 'PATH'
Install it.
after that ... run commands on the terminal to configure git with a new editor:
Source: https://habr.com/ru/post/1623940/More articles:Vagrant environment or target machine required - vagrantHow to transfer a project to another machine - androidhow to transfer a project from android studio to android studio - androidPython dictionaries list - pythonJFileChooser с пользовательской реализацией FileSystemView - javaIs Angular a truly singleton service? - angularjsNeed to explain the output of the following java code - javaSending to an ASP.NET WebApi server from an AngularJS client - javascriptAndroid room how to transfer message parameters dynamically - android"Uncaught TypeError: window.HTMLOUT.showHTML is not a function" - javaAll Articles