Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pauloantonelli/c7f985e28b17ccb827e7dfe3593e723b to your computer and use it in GitHub Desktop.
Save pauloantonelli/c7f985e28b17ccb827e7dfe3593e723b to your computer and use it in GitHub Desktop.
Colocar vsCode como Editor de Git
Vscode como editor padrão do git :
git config --global core.editor "code -w"
comando para verficar se a instalação foi feita correto :
git config --global -e
Se der algum erro como:
"hint: Waiting for your editor to close the file... code -w: code: command not found error: There was a problem with the editor 'code -w'".
Vá no VS Code > command(control) + shift + p > procure por code > escolha Shell Command: Install ‘code' command in PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment